summary refs log tree commit diff stats
path: root/sys/services/flatpak/default.nix
diff options
context:
space:
mode:
authorsils <sils@sils.li>2023-05-04 18:17:38 +0200
committersils <sils@sils.li>2023-05-04 18:17:38 +0200
commit4eaf76cf1e0af9ec7a630320bb7d4956041dd03e (patch)
tree4073ad033ef5f0939e76bb82a75847b34ca4bba9 /sys/services/flatpak/default.nix
parentChore(flake): Update (diff)
downloadnix-config-4eaf76cf1e0af9ec7a630320bb7d4956041dd03e.tar.gz
nix-config-4eaf76cf1e0af9ec7a630320bb7d4956041dd03e.zip
Structure(treewide): Use new structure with home-manager
                     home-manager enables great possibilities and is
                     part of simplifying the structure of my config.
Diffstat (limited to 'sys/services/flatpak/default.nix')
-rw-r--r--sys/services/flatpak/default.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/sys/services/flatpak/default.nix b/sys/services/flatpak/default.nix
new file mode 100644
index 0000000..d1f4586
--- /dev/null
+++ b/sys/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];
+  #  };
+}