Nix : Disable automatic gc.
This commit is contained in:
parent
46800556e3
commit
d71551f476
|
@ -1,7 +1,7 @@
|
||||||
{ environment, ... }: {
|
{ environment, ... }: {
|
||||||
environment.variables.NIXPKGS_ALLOW_UNFREE = "1";
|
environment.variables.NIXPKGS_ALLOW_UNFREE = "1";
|
||||||
nix.extraOptions = "experimental-features = nix-command flakes";
|
nix.extraOptions = "experimental-features = nix-command flakes";
|
||||||
nix.gc.automatic = true;
|
nix.gc.automatic = false;
|
||||||
nix.gc.dates = "daily";
|
nix.gc.dates = "daily";
|
||||||
nix.gc.options = "--delete-older-than 7d";
|
nix.gc.options = "--delete-older-than 7d";
|
||||||
nix.settings.auto-optimise-store = true;
|
nix.settings.auto-optimise-store = true;
|
||||||
|
|
Reference in a new issue