Commit 7a1d31838670

Vincent Demeester <vincent@sbr.pm>
2021-09-15 17:54:27
systems/k8sn*: add /var external filesystem
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent bdcc7c3
Changed files (3)
systems/hosts/k8sn1.nix
@@ -27,7 +27,7 @@ in
   fileSystems."/var" = {
     device = "/dev/vdb";
     fsType = "ext4";
-    autoResize = true;
+    autoResize = true; # Is this needed ?
   };
 
   boot.growPartition = true;
systems/hosts/k8sn2.nix
@@ -20,6 +20,12 @@ in
     autoResize = true;
   };
 
+  fileSystems."/var" = {
+    device = "/dev/vdb";
+    fsType = "ext4";
+    autoResize = true; # Is this needed ?
+  };
+
   boot.growPartition = true;
   boot.kernelParams = [ "console=ttyS0" ];
   boot.loader.grub.device = "/dev/vda";
systems/hosts/k8sn3.nix
@@ -19,6 +19,11 @@ in
     fsType = "ext4";
     autoResize = true;
   };
+  fileSystems."/var" = {
+    device = "/dev/vdb";
+    fsType = "ext4";
+    autoResize = true; # Is this needed ?
+  };
 
   boot.growPartition = true;
   boot.kernelParams = [ "console=ttyS0" ];