Don't garbage collect in a built ISO.

The ISO is immutable so garbage collection does not make sense.
This commit is contained in:
Tom Alexander
2025-01-18 11:33:39 -05:00
parent 19cf31b094
commit 5170678a25
2 changed files with 3 additions and 2 deletions

View File

@@ -103,7 +103,7 @@
};
# Automatic garbage collection
nix.gc = {
nix.gc = lib.mkIf (!config.me.buildingIso) {
# Runs nix-collect-garbage --delete-older-than 5d
automatic = true;
randomizedDelaySec = "14m";