diff options
Diffstat (limited to 'system')
| -rw-r--r-- | system/nix.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/system/nix.nix b/system/nix.nix index ef92dc1..74dea4f 100644 --- a/system/nix.nix +++ b/system/nix.nix @@ -15,6 +15,15 @@ experimental-features = ["nix-command" "flakes"]; }; + gc = { + automatic = true; + dates = "weekly"; + options = "--delete-older-than 7d"; + }; + optimise = { + automatic = true; + dates = ["weekly"]; + }; }; # Fix nixpkgs.overlays for Lix compatibility |
