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 = ''
experimental-features = nix-command flakes
'';
binaryCaches = lib.mkForce [
"https://cache.nixos.org/"
"https://nix-community.cachix.org"
];
binaryCachePublicKeys = [
"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="
#];
#};
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
registry.nixpkgs.flake = inputs.nixpkgs;
};