summary refs log tree commit diff stats
path: root/flatpak.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flatpak.nix')
-rw-r--r--flatpak.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/flatpak.nix b/flatpak.nix
new file mode 100644
index 0000000..73352a6
--- /dev/null
+++ b/flatpak.nix
@@ -0,0 +1,9 @@
+{ config, pkgs, ... }:
+
+{
+        services.flatpak.enable = true;
+        fileSystems."/var/lib/flatpak" = {
+                device = "/srv/flatpak";
+                options = [ "bind" ];
+        };
+}