Nix : Disable automatic gc.

This commit is contained in:
Dmitry Voronin 2024-03-03 23:23:46 +03:00
parent 46800556e3
commit d71551f476

View file

@ -1,7 +1,7 @@
{ environment, ... }: {
environment.variables.NIXPKGS_ALLOW_UNFREE = "1";
nix.extraOptions = "experimental-features = nix-command flakes";
nix.gc.automatic = true;
nix.gc.automatic = false;
nix.gc.dates = "daily";
nix.gc.options = "--delete-older-than 7d";
nix.settings.auto-optimise-store = true;