Run nix GC when <500MB disk space

This commit is contained in:
TEC 2023-06-26 21:28:13 +08:00
parent 3e7277239a
commit 1ff513c61e
Signed by: tec
SSH Key Fingerprint: SHA256:eobz41Mnm0/iYWBvWThftS0ElEs1ftBr6jamutnXc/A
1 changed files with 1 additions and 0 deletions

View File

@ -17,6 +17,7 @@ MaxRetentionSec=2months
extraOptions = ''
experimental-features = nix-command flakes
min-free = ${toString (500 * 1024 * 1024)}
'';
gc = {