summary refs log tree commit diff stats
path: root/sys/impermanence/default.nix
diff options
context:
space:
mode:
authorsils <sils@sils.li>2023-08-02 13:06:16 +0200
committersils <sils@sils.li>2023-08-02 13:07:07 +0200
commitb32a6711db58b4d8872cd18b15632e2f47dbcba5 (patch)
tree8c13aa1ab7844783b669f253cd7b727a812a2ea2 /sys/impermanence/default.nix
parentFix(u/sils/zsh): Add sys-update function (diff)
downloadnix-config-b32a6711db58b4d8872cd18b15632e2f47dbcba5.tar.gz
nix-config-b32a6711db58b4d8872cd18b15632e2f47dbcba5.zip
Feat(sys/impermanence): Add persistent dir /var/lib/bluetooth
Diffstat (limited to '')
-rw-r--r--sys/impermanence/default.nix10
1 files changed, 10 insertions, 0 deletions
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";
+    }
+  ];
+}