mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
feat(nix): auto gc for saving space
This commit is contained in:
@@ -8,4 +8,9 @@
|
||||
nix.gc.automatic = true;
|
||||
nix.optimise.automatic = true;
|
||||
services.journald.extraConfig = "SystemMaxUse=500M";
|
||||
# https://webzine.snowflake.ovh/issue-001.html -- garbage collect when less then 1 GB is available, make 3 GB fee
|
||||
nix.extraOptions = ''
|
||||
min-free = 1073741824
|
||||
max-free = 3221225472
|
||||
'';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user