From 588db7e044ae55d3d0b7b81b3477a28fdd7f13be Mon Sep 17 00:00:00 2001 From: "Casper V. Kristensen" Date: Wed, 17 Apr 2024 22:11:53 +0200 Subject: [PATCH] increase root tmpfs Needed to avoid out-of-space errors for builds using a lot of /tmp space. --- hosts/alpha/hardware.nix | 2 +- hosts/delta/hardware.nix | 2 +- hosts/mu/hardware.nix | 2 +- hosts/omega/hardware.nix | 2 +- hosts/sigma/hardware.nix | 2 +- hosts/tor/hardware.nix | 2 +- hosts/zeta/hardware.nix | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/hosts/alpha/hardware.nix b/hosts/alpha/hardware.nix index d3b2dca..1123283 100644 --- a/hosts/alpha/hardware.nix +++ b/hosts/alpha/hardware.nix @@ -20,7 +20,7 @@ fileSystems."/" = { device = "none"; fsType = "tmpfs"; - options = ["defaults" "size=2G" "mode=755"]; # mode=755 so only root can write to those files + options = ["defaults" "size=3G" "mode=755"]; # mode=755 so only root can write to those files }; fileSystems."/boot" = { device = "/dev/disk/by-label/BOOT"; diff --git a/hosts/delta/hardware.nix b/hosts/delta/hardware.nix index d3b2dca..1123283 100644 --- a/hosts/delta/hardware.nix +++ b/hosts/delta/hardware.nix @@ -20,7 +20,7 @@ fileSystems."/" = { device = "none"; fsType = "tmpfs"; - options = ["defaults" "size=2G" "mode=755"]; # mode=755 so only root can write to those files + options = ["defaults" "size=3G" "mode=755"]; # mode=755 so only root can write to those files }; fileSystems."/boot" = { device = "/dev/disk/by-label/BOOT"; diff --git a/hosts/mu/hardware.nix b/hosts/mu/hardware.nix index 71a582b..f972ab0 100644 --- a/hosts/mu/hardware.nix +++ b/hosts/mu/hardware.nix @@ -25,7 +25,7 @@ fileSystems."/" = { device = "none"; fsType = "tmpfs"; - options = ["defaults" "size=2G" "mode=755"]; # mode=755 so only root can write to those files + options = ["defaults" "size=4G" "mode=755"]; # mode=755 so only root can write to those files }; fileSystems."/boot" = { device = "/dev/disk/by-label/BOOT"; diff --git a/hosts/omega/hardware.nix b/hosts/omega/hardware.nix index 306dfd3..8262c05 100644 --- a/hosts/omega/hardware.nix +++ b/hosts/omega/hardware.nix @@ -25,7 +25,7 @@ fileSystems."/" = { device = "none"; fsType = "tmpfs"; - options = ["defaults" "size=2G" "mode=755"]; # mode=755 so only root can write to those files + options = ["defaults" "size=4G" "mode=755"]; # mode=755 so only root can write to those files }; fileSystems."/boot" = { device = "/dev/disk/by-label/BOOT"; diff --git a/hosts/sigma/hardware.nix b/hosts/sigma/hardware.nix index c349e5e..b6b805b 100644 --- a/hosts/sigma/hardware.nix +++ b/hosts/sigma/hardware.nix @@ -24,7 +24,7 @@ fileSystems."/" = { device = "none"; fsType = "tmpfs"; - options = ["defaults" "size=2G" "mode=755"]; # mode=755 so only root can write to those files + options = ["defaults" "size=4G" "mode=755"]; # mode=755 so only root can write to those files }; fileSystems."/boot" = { device = "/dev/disk/by-label/BOOT"; diff --git a/hosts/tor/hardware.nix b/hosts/tor/hardware.nix index ae2b3e0..ee317be 100644 --- a/hosts/tor/hardware.nix +++ b/hosts/tor/hardware.nix @@ -18,7 +18,7 @@ fileSystems."/" = { device = "none"; fsType = "tmpfs"; - options = ["defaults" "size=2G" "mode=755"]; # mode=755 so only root can write to those files + options = ["defaults" "size=3G" "mode=755"]; # mode=755 so only root can write to those files }; fileSystems."/boot" = { device = "/dev/disk/by-label/BOOT"; diff --git a/hosts/zeta/hardware.nix b/hosts/zeta/hardware.nix index 0277b83..3efb20e 100644 --- a/hosts/zeta/hardware.nix +++ b/hosts/zeta/hardware.nix @@ -25,7 +25,7 @@ fileSystems."/" = { device = "none"; fsType = "tmpfs"; - options = ["defaults" "size=2G" "mode=755"]; # mode=755 so only root can write to those files + options = ["defaults" "size=4G" "mode=755"]; # mode=755 so only root can write to those files }; fileSystems."/boot" = { device = "/dev/disk/by-label/BOOT";