1

renamed changed settings

This commit is contained in:
2022-07-18 14:23:44 +02:00
parent 73d9fee897
commit cf2f45f3f4
3 changed files with 5 additions and 5 deletions

View File

@ -9,5 +9,5 @@ let
(lib.filterAttrs filterCaches (builtins.readDir folder)); (lib.filterAttrs filterCaches (builtins.readDir folder));
in { in {
inherit imports; inherit imports;
nix.binaryCaches = [ "https://cache.nixos.org/" ]; nix.settings.substituters = [ "https://cache.nixos.org/" ];
} }

View File

@ -1,10 +1,10 @@
{ {
nix = { nix.settings = {
binaryCaches = [ substituters = [
"https://nix-community.cachix.org" "https://nix-community.cachix.org"
]; ];
binaryCachePublicKeys = [ trusted-public-keys = [
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
]; ];
}; };

View File

@ -25,7 +25,7 @@
# Auto garbage-collect and optimize store # Auto garbage-collect and optimize store
gc.automatic = true; gc.automatic = true;
gc.options = "--delete-older-than 5d"; gc.options = "--delete-older-than 5d";
autoOptimiseStore = true; settings.auto-optimise-store = true;
optimise.automatic = true; optimise.automatic = true;
# TODO: Understand this # TODO: Understand this