summary refs log tree commit diff stats
path: root/sys/services/flatpak/default.nix
diff options
context:
space:
mode:
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];
+  #  };
+}