1
0
Fork 0

Update NixOS cache config

This commit is contained in:
Daniel Kempkens 2022-08-05 11:37:45 +02:00
parent 3c6cd95a91
commit 104abdf163
2 changed files with 20 additions and 14 deletions

View file

@ -18,19 +18,22 @@ in
nix = { nix = {
package = pkgs.nixFlakes; package = pkgs.nixFlakes;
binaryCaches = [ settings = {
"https://nix-community.cachix.org" auto-optimise-store = true;
];
binaryCachePublicKeys = [ substituters = [
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" "https://nix-community.cachix.org"
]; ];
trusted-public-keys = [
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
];
};
extraOptions = '' extraOptions = ''
experimental-features = nix-command flakes experimental-features = nix-command flakes
keep-derivations = true keep-derivations = true
keep-outputs = true keep-outputs = true
auto-optimise-store = true
''; '';
}; };

View file

@ -19,19 +19,22 @@ in
nix = { nix = {
package = pkgs.nixFlakes; package = pkgs.nixFlakes;
binaryCaches = [ settings = {
"https://nix-community.cachix.org" auto-optimise-store = true;
];
binaryCachePublicKeys = [ substituters = [
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" "https://nix-community.cachix.org"
]; ];
trusted-public-keys = [
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
];
};
extraOptions = '' extraOptions = ''
experimental-features = nix-command flakes experimental-features = nix-command flakes
keep-derivations = true keep-derivations = true
keep-outputs = true keep-outputs = true
auto-optimise-store = true
''; '';
}; };