From d7e5280f4f5cffc7ca0337f64f6b0e110bb1527b Mon Sep 17 00:00:00 2001
From: Zynh Ludwig <Zynh0722@gmail.com>
Date: Tue, 25 Mar 2025 13:00:46 -0700
Subject: [PATCH] llynx: flatpak

---
 hosts/llynx/configuration.nix | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/hosts/llynx/configuration.nix b/hosts/llynx/configuration.nix
index 8ed50ef..9cbc5de 100644
--- a/hosts/llynx/configuration.nix
+++ b/hosts/llynx/configuration.nix
@@ -69,6 +69,15 @@
     useGlobalPkgs = true;
   };
 
+  services.flatpak.enable = true;
+  systemd.services.flatpak-repo = {
+    wantedBy = [ "multi-user.target" ];
+    path = [ pkgs.flatpak ];
+    script = ''
+      flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
+    '';
+  };
+
   environment.systemPackages = with pkgs; [
     pkgs.rose-pine-gtk-theme
     pkgs.rose-pine-icon-theme