Turn automatic nix garbage collection off in microvm

This commit is contained in:
Sandro - 2022-10-07 22:17:33 +02:00
parent 9f659067db
commit ae1e318a9a
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
2 changed files with 4 additions and 1 deletions

View File

@ -397,7 +397,7 @@ in
);
};
gc = {
automatic = true;
automatic = lib.mkDefault true;
dates = "06:00";
options = "--delete-older-than 21d";
randomizedDelaySec = "6h";

View File

@ -167,5 +167,8 @@ in
# autoupdates do not make sense inside MicroVMs with read-only /nix/store
c3d2.autoUpdate = false;
# nix store is mounted read only
nix.gc.automatic = false;
};
}