Commit 7bda64f01804

Vincent Demeester <vincent@sbr.pm>
2021-09-07 06:47:03
systems: disable auto-update on k8s* nodes
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent fe74d45
Changed files (3)
systems/hosts/k8sn1.nix
@@ -24,6 +24,12 @@ in
     autoResize = true;
   };
 
+  fileSystems."/var" = {
+    device = "/dev/vdb";
+    fsType = "ext4";
+    autoResize = true;
+  };
+
   boot.growPartition = true;
   boot.kernelParams = [ "console=ttyS0" ];
   boot.loader.grub.device = "/dev/vda";
@@ -36,6 +42,7 @@ in
   };
 
   profiles = {
+    nix-auto-update.enable = false;
     ssh.enable = true;
     # systemd-boot doesn't with nixos-generators ๐Ÿ™ƒ
     base.systemd-boot = false;
systems/hosts/k8sn2.nix
@@ -32,6 +32,7 @@ in
   };
 
   profiles = {
+    nix-auto-update.enable = false;
     ssh.enable = true;
     # systemd-boot doesn't with nixos-generators ๐Ÿ™ƒ
     base.systemd-boot = false;
systems/hosts/k8sn3.nix
@@ -32,6 +32,7 @@ in
   };
 
   profiles = {
+    nix-auto-update.enable = false;
     ssh.enable = true;
     # systemd-boot doesn't with nixos-generators ๐Ÿ™ƒ
     base.systemd-boot = false;