commit | fd0fcea2b5ffdb99c1f6e50f34cd09bb5a597f6c | [log] [tgz] |
---|---|---|
author | Samuel Shuert <me@thecoded.prof> | Fri Nov 08 15:35:30 2024 -0500 |
committer | Samuel Shuert <coded@clicks.codes> | Sat Nov 09 02:21:12 2024 +0000 |
tree | 7dac38e87f1b982897e6c8845c7878c96f05717c | |
parent | fc989caf9fef308144798fe5605d515281de4d9f [diff] |
feat(nix): Enable auto gc every week Change-Id: I0d80dbc299db53fbf0baa9c4371f19c18980bb7e Reviewed-on: https://git.clicks.codes/c/Chimera/NixFiles/+/902 Tested-by: Samuel Shuert <coded@clicks.codes> Reviewed-by: Skyler Grey <minion@clicks.codes>
diff --git a/modules/nixos/nix/default.nix b/modules/nixos/nix/default.nix index 08ed962..1b80b72 100644 --- a/modules/nixos/nix/default.nix +++ b/modules/nixos/nix/default.nix
@@ -29,5 +29,11 @@ ]; }; + nix.gc = { + automatic = true; + options = "--delete-older-than 30d"; + dates = "weekly"; + }; + nixpkgs.hostPlatform = system; }