summary refs log tree commit diff stats
path: root/system/file_system_layouts/impermanence.nix
diff options
context:
space:
mode:
Diffstat (limited to 'system/file_system_layouts/impermanence.nix')
-rw-r--r--system/file_system_layouts/impermanence.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/system/file_system_layouts/impermanence.nix b/system/file_system_layouts/impermanence.nix
index da38791..7e8a659 100644
--- a/system/file_system_layouts/impermanence.nix
+++ b/system/file_system_layouts/impermanence.nix
@@ -7,6 +7,12 @@
         "/var/log"
         "/var/lib/postgresql"
         "/var/lib/acme"
+        {
+          directory = "/var/lib/nix-sync";
+          user = "nix-sync";
+          group = "nix-sync";
+          mode = "0700";
+        }
       ];
       files = [
         "/etc/machine-id"