diff options
| author | Natasha Moongrave <natasha@256phi.eu> | 2026-05-25 09:28:55 +0200 |
|---|---|---|
| committer | Natasha Moongrave <natasha@256phi.eu> | 2026-05-25 09:28:55 +0200 |
| commit | bc443eed6610dfdd0fb239c638a1a9d8704178db (patch) | |
| tree | ebd630d8ace529c3a3e15f77ad995d92cbfa5d5e /system | |
| parent | c4e91061e16475c390dc8adf383a7c035adf1edf (diff) | |
Added automatic gc and optimise config to nix
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 |
