diff --git a/hosts/buildbot/default.nix b/hosts/buildbot/default.nix index 5748069..6fea50b 100755 --- a/hosts/buildbot/default.nix +++ b/hosts/buildbot/default.nix @@ -28,7 +28,7 @@ bagel.services.buildbot = { enable = true; domain = "buildbot.forkos.org"; - builders = [ "builder-3" ]; + builders = [ "builder-11" ]; }; i18n.defaultLocale = "en_US.UTF-8"; diff --git a/services/baremetal-builder/default.nix b/services/baremetal-builder/default.nix index 3fc32ca..74af67f 100644 --- a/services/baremetal-builder/default.nix +++ b/services/baremetal-builder/default.nix @@ -156,8 +156,8 @@ in script = '' while : ; do percent_filled=$(($(stat -f --format="100-(100*%a/%b)" /mnt))) - if [ "$percent_filled" -gt "85" ]; then - ${config.nix.package.out}/bin/nix-store --gc --max-freed 100G --store /mnt + if [ "$percent_filled" -gt "54" ]; then + ${config.nix.package.out}/bin/nix-store --gc --max-freed 50G --store /mnt else break fi