summary refs log tree commit diff stats
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/default.nix1
-rw-r--r--sys/impermanence/default.nix10
2 files changed, 11 insertions, 0 deletions
diff --git a/sys/default.nix b/sys/default.nix
index 37fcb5a..d38321a 100644
--- a/sys/default.nix
+++ b/sys/default.nix
@@ -4,6 +4,7 @@
     ./desktop/awesome
     ./environment
     ./font
+    ./impermanence
     ./keyboard
     ./nix
     ./packages
diff --git a/sys/impermanence/default.nix b/sys/impermanence/default.nix
new file mode 100644
index 0000000..d62b871
--- /dev/null
+++ b/sys/impermanence/default.nix
@@ -0,0 +1,10 @@
+{...}: {
+  environment.persistence."/srv".directories = [
+    {
+      directory = "/var/lib/bluetooth";
+      user = "root";
+      group = "root";
+      mode = "0700";
+    }
+  ];
+}