summary refs log tree commit diff stats
path: root/services/flatpak/default.nix
diff options
context:
space:
mode:
authorsils <sils@sils.li>2023-04-20 18:25:45 +0200
committersils <sils@sils.li>2023-04-20 18:31:19 +0200
commit8b5e6cfeed2b5c7088cdf8a98bacee72ad6cabd4 (patch)
treebd77dade79e8c7e6f6f3a136d53fd5518d9ffcb9 /services/flatpak/default.nix
parentFeat(packages.nix): Add pinentry (diff)
downloadnix-config-8b5e6cfeed2b5c7088cdf8a98bacee72ad6cabd4.zip
Feat(structure): Restructured repository
                 This is mainly convenience and my personal
                 preference.
Diffstat (limited to 'services/flatpak/default.nix')
-rw-r--r--services/flatpak/default.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/services/flatpak/default.nix b/services/flatpak/default.nix
new file mode 100644
index 0000000..d1f4586
--- /dev/null
+++ b/services/flatpak/default.nix
@@ -0,0 +1,11 @@
+{...}: {
+  services.flatpak.enable = true;
+  fileSystems."/var/lib/flatpak" = {
+    device = "/srv/flatpak";
+    options = ["bind"];
+  };
+  #  xdg.portal = {
+  #    enable = true;
+  #    extraPortals = [pkgs.xdg-desktop-portal-gtk];
+  #  };
+}