commit 7bda64f018047920edffe73be3442980667914c2
parent fe74d456875f4e14a40ea25e22df337661185a75
Author: Vincent Demeester <vincent@sbr.pm>
Date: Tue, 7 Sep 2021 06:47:03 +0200
systems: disable auto-update on k8s* nodes
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
3 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/systems/hosts/k8sn1.nix b/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;
diff --git a/systems/hosts/k8sn2.nix b/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;
diff --git a/systems/hosts/k8sn3.nix b/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;