diff --git a/cachix.nix b/cachix.nix index cce90a3..332fc55 100644 --- a/cachix.nix +++ b/cachix.nix @@ -9,6 +9,6 @@ let imports = lib.mapAttrsToList toImport (lib.filterAttrs filterCaches (builtins.readDir folder)); in { inherit imports; - nix.binaryCaches = ["https://cache.nixos.org/"]; + nix.settings.substituters = ["https://cache.nixos.org/"]; } - \ No newline at end of file + diff --git a/cachix/nix-community.nix b/cachix/nix-community.nix index 885d38b..2978cfe 100644 --- a/cachix/nix-community.nix +++ b/cachix/nix-community.nix @@ -1,12 +1,12 @@ { - nix = { - binaryCaches = [ + nix.settings = { + substituters = [ "https://nix-community.cachix.org" ]; - binaryCachePublicKeys = [ + trusted-public-keys = [ "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" ]; }; } - \ No newline at end of file + diff --git a/cachix/nrdxp.nix b/cachix/nrdxp.nix index c6a09b6..5c7d4f9 100644 --- a/cachix/nrdxp.nix +++ b/cachix/nrdxp.nix @@ -1,12 +1,12 @@ { - nix = { - binaryCaches = [ + nix.settings = { + substituters = [ "https://nrdxp.cachix.org" ]; - binaryCachePublicKeys = [ + trusted-public-keys = [ "nrdxp.cachix.org-1:Fc5PSqY2Jm1TrWfm88l6cvGWwz3s93c6IOifQWnhNW4=" ]; }; } - \ No newline at end of file + diff --git a/configuration.nix b/configuration.nix index 527e321..065b293 100644 --- a/configuration.nix +++ b/configuration.nix @@ -23,7 +23,7 @@ extraOptions = '' experimental-features = nix-command flakes ''; - autoOptimiseStore = true; + settings.auto-optimise-store = true; gc = { automatic = true; dates = "Saturday";