From cfc24abfe10ed7015f31783b58945351d3ac0614 Mon Sep 17 00:00:00 2001 From: Yureka Date: Tue, 20 Aug 2024 12:08:49 +0200 Subject: [PATCH] adjust hydra-gc numbers for the new ssds --- services/baremetal-builder/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/baremetal-builder/default.nix b/services/baremetal-builder/default.nix index 0b9de91..fd9075a 100644 --- a/services/baremetal-builder/default.nix +++ b/services/baremetal-builder/default.nix @@ -164,8 +164,8 @@ in script = '' while : ; do percent_filled=$(($(stat -f --format="100-(100*%a/%b)" /mnt))) - if [ "$percent_filled" -gt "54" ]; then - ${config.nix.package.out}/bin/nix-store --gc --max-freed 50G --store /mnt + if [ "$percent_filled" -gt "85" ]; then + ${config.nix.package.out}/bin/nix-store --gc --max-freed 80G --store /mnt else break fi