Make nix gc options overridable with mkDefault

This commit is contained in:
2025-12-08 14:34:53 -08:00
parent 04e1a8563c
commit 4e6c6ab81d

View File

@@ -32,7 +32,7 @@ in
nix.gc = { nix.gc = {
automatic = true; automatic = true;
randomizedDelaySec = mkIf pkgs.stdenv.isLinux "14m"; randomizedDelaySec = mkIf pkgs.stdenv.isLinux "14m";
options = "--delete-older-than 10d"; options = lib.mkDefault "--delete-older-than 10d";
}; };
# Essential programs everyone needs # Essential programs everyone needs