summary refs log tree commit diff stats
path: root/flatpak.nix
diff options
context:
space:
mode:
authorsils <sils@sils.li>2022-12-30 13:16:36 +0100
committersils <sils@sils.li>2022-12-30 13:16:36 +0100
commit124956e2d90a6d928f33862a6d84f39f2d34432b (patch)
treef12b66e642f1609a507b96900c7d9fe31be18b0e /flatpak.nix
parentdemodularize (diff)
downloadnix-config-124956e2d90a6d928f33862a6d84f39f2d34432b.tar.gz
nix-config-124956e2d90a6d928f33862a6d84f39f2d34432b.zip
add flatpak
Diffstat (limited to '')
-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" ];
+        };
+}