summary refs log tree commit diff stats
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/file_system_layouts/impermanence.nix48
1 files changed, 23 insertions, 25 deletions
diff --git a/system/file_system_layouts/impermanence.nix b/system/file_system_layouts/impermanence.nix
index 23254e4..32ad9f7 100644
--- a/system/file_system_layouts/impermanence.nix
+++ b/system/file_system_layouts/impermanence.nix
@@ -1,28 +1,26 @@
 {...}: {
-  environment.persistence = {
-    "/srv" = {
-      hideMounts = true;
-      directories = [
-        "/etc/nixos"
-        "/var/log"
-        "/var/lib/postgresql"
-        "/var/lib/acme"
-        {
-          directory = "/var/lib/nix-sync";
-          user = "nix-sync";
-          group = "nix-sync";
-          mode = "0700";
-        }
-        {
-          directory = "/var/lib/sshd";
-          user = "root";
-          group = "root";
-          mode = "0755";
-        }
-      ];
-      files = [
-        "/etc/machine-id"
-      ];
-    };
+  environment.persistence."/srv" = {
+    hideMounts = true;
+    directories = [
+      "/etc/nixos"
+      "/var/log"
+      "/var/lib/postgresql"
+      "/var/lib/acme"
+      {
+        directory = "/var/lib/nix-sync";
+        user = "nix-sync";
+        group = "nix-sync";
+        mode = "0700";
+      }
+      {
+        directory = "/var/lib/sshd";
+        user = "root";
+        group = "root";
+        mode = "0755";
+      }
+    ];
+    files = [
+      "/etc/machine-id"
+    ];
   };
 }