adjust hydra-gc numbers
for the new ssds
This commit is contained in:
parent
a72a991863
commit
cfc24abfe1
|
@ -164,8 +164,8 @@ in
|
||||||
script = ''
|
script = ''
|
||||||
while : ; do
|
while : ; do
|
||||||
percent_filled=$(($(stat -f --format="100-(100*%a/%b)" /mnt)))
|
percent_filled=$(($(stat -f --format="100-(100*%a/%b)" /mnt)))
|
||||||
if [ "$percent_filled" -gt "54" ]; then
|
if [ "$percent_filled" -gt "85" ]; then
|
||||||
${config.nix.package.out}/bin/nix-store --gc --max-freed 50G --store /mnt
|
${config.nix.package.out}/bin/nix-store --gc --max-freed 80G --store /mnt
|
||||||
else
|
else
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue