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));
in {
inherit imports;
nix.binaryCaches = [ "https://cache.nixos.org/" ];
nix.settings.substituters = [ "https://cache.nixos.org/" ];
}

View File

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

View File

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