lix: enable-gc

This commit is contained in:
emily 2024-10-22 18:26:10 +02:00
parent 669c6b695f
commit 4ea602f398
Signed by: emily
GPG key ID: F6F4C66207FCF995

View file

@ -54,6 +54,7 @@ with lib; {
''; '';
users.motdFile = "/var/lib/deployment/motd"; users.motdFile = "/var/lib/deployment/motd";
nix.package = pkgs.lix.override { enableGC = true; };
nix.gc.automatic = true; nix.gc.automatic = true;
nix.gc.options = "--delete-older-than 7d"; nix.gc.options = "--delete-older-than 7d";
nix.optimise.automatic = true; nix.optimise.automatic = true;