Iwakura/modules/gc/default.nix

15 lines
306 B
Nix
Raw Normal View History

2021-04-27 18:47:09 -04:00
{
nix = {
autoOptimiseStore = true;
gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 30d";
};
extraOptions = ''
min-free = ${toString (100*1024*1024)} # 100mb
max-free = ${toString (1024*1024*1024)} # free to 1gb free
'';
};
}