commit 7a1d318386702548bf69f8b9845301f13950a668
parent bdcc7c377bfb5113499309347f5fce17995399b4
Author: Vincent Demeester <vincent@sbr.pm>
Date: Wed, 15 Sep 2021 17:54:27 +0200
systems/k8sn*: add /var external filesystem
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
3 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/systems/hosts/k8sn1.nix b/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;
diff --git a/systems/hosts/k8sn2.nix b/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";
diff --git a/systems/hosts/k8sn3.nix b/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" ];