Use renamed config parameters

This commit is contained in:
Valentin Brandl 2022-11-14 00:18:05 +01:00
parent 8050ba3367
commit 1d622b7000
Signed by: vbrandl
GPG Key ID: CAD4DA1A789125F9

View File

@ -5,22 +5,15 @@ inputs:
extraOptions = '' extraOptions = ''
experimental-features = nix-command flakes experimental-features = nix-command flakes
''; '';
binaryCaches = lib.mkForce [ settings = {
substituters = lib.mkForce [
"https://cache.nixos.org/" "https://cache.nixos.org/"
"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="
]; ];
#settings = { };
#substituters = lib.mkForce [
#"https://cache.nixos.org/"
#"https://nix-community.cachix.org"
#];
#trusted-public-keys = [
#"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
#];
#};
# nix shell and nix build should use the same channel as the flake # nix shell and nix build should use the same channel as the flake
registry.nixpkgs.flake = inputs.nixpkgs; registry.nixpkgs.flake = inputs.nixpkgs;
}; };