about summary refs log tree commit diff
path: root/systems/v-nanode1
diff options
context:
space:
mode:
Diffstat (limited to 'systems/v-nanode1')
-rw-r--r--systems/v-nanode1/default.nix9
1 files changed, 8 insertions, 1 deletions
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;