about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--systems/cobalt/default.nix4
-rw-r--r--systems/v-conoha1/default.nix9
-rw-r--r--systems/v-coord1/default.nix9
-rw-r--r--systems/v-nanode1/default.nix9
-rw-r--r--systems/v-proton-jp43/default.nix9
5 files changed, 36 insertions, 4 deletions
diff --git a/systems/cobalt/default.nix b/systems/cobalt/default.nix
index 0287445..0d861ec 100644
--- a/systems/cobalt/default.nix
+++ b/systems/cobalt/default.nix
@@ -168,6 +168,10 @@ in
     persistence = {
       enable = true;
       storagePath = "/persist";
+
+      directories = [
+        "/var/lib/nixos"
+      ];
     };
     binary-cache.enable = true;
 
diff --git a/systems/v-conoha1/default.nix b/systems/v-conoha1/default.nix
index 6620b5e..71888d2 100644
--- a/systems/v-conoha1/default.nix
+++ b/systems/v-conoha1/default.nix
@@ -72,7 +72,14 @@ in
 
   modules = {
     security.enable = true;
-    persistence.enable = false;
+    persistence = {
+      enable = true;
+      storagePath = "/persist";
+
+      directories = [
+        "/var/lib/nixos"
+      ];
+    };
     binary-cache.enable = true;
 
     sops.enable = true;
diff --git a/systems/v-coord1/default.nix b/systems/v-coord1/default.nix
index d09c3c0..e1504e2 100644
--- a/systems/v-coord1/default.nix
+++ b/systems/v-coord1/default.nix
@@ -77,7 +77,14 @@ in
 
   modules = {
     security.enable = true;
-    persistence.enable = false;
+    persistence = {
+      enable = true;
+      storagePath = "/persist";
+
+      directories = [
+        "/var/lib/nixos"
+      ];
+    };
     binary-cache.enable = true;
 
     sops.enable = true;
diff --git a/systems/v-nanode1/default.nix b/systems/v-nanode1/default.nix
index b4d48c9..9ac234d 100644
--- a/systems/v-nanode1/default.nix
+++ b/systems/v-nanode1/default.nix
@@ -84,7 +84,14 @@ in
 
   modules = {
     security.enable = true;
-    persistence.enable = false;
+    persistence = {
+      enable = true;
+      storagePath = "/persist";
+
+      directories = [
+        "/var/lib/nixos"
+      ];
+    };
     binary-cache.enable = true;
 
     sops.enable = true;
diff --git a/systems/v-proton-jp43/default.nix b/systems/v-proton-jp43/default.nix
index ccf1ec0..c5175b5 100644
--- a/systems/v-proton-jp43/default.nix
+++ b/systems/v-proton-jp43/default.nix
@@ -85,7 +85,14 @@ in
 
   modules = {
     security.enable = true;
-    persistence.enable = false;
+    persistence = {
+      enable = true;
+      storagePath = "/persist";
+
+      directories = [
+        "/var/lib/nixos"
+      ];
+    };
     binary-cache.enable = true;
 
     sops.enable = true;