forked from emily/nixfiles
lix: enable-gc
This commit is contained in:
parent
669c6b695f
commit
4ea602f398
1 changed files with 1 additions and 0 deletions
|
@ -54,6 +54,7 @@ with lib; {
|
|||
'';
|
||||
users.motdFile = "/var/lib/deployment/motd";
|
||||
|
||||
nix.package = pkgs.lix.override { enableGC = true; };
|
||||
nix.gc.automatic = true;
|
||||
nix.gc.options = "--delete-older-than 7d";
|
||||
nix.optimise.automatic = true;
|
||||
|
|
Loading…
Reference in a new issue