Update NixOS cache config
This commit is contained in:
parent
3c6cd95a91
commit
104abdf163
2 changed files with 20 additions and 14 deletions
|
@ -18,19 +18,22 @@ in
|
|||
nix = {
|
||||
package = pkgs.nixFlakes;
|
||||
|
||||
binaryCaches = [
|
||||
settings = {
|
||||
auto-optimise-store = true;
|
||||
|
||||
substituters = [
|
||||
"https://nix-community.cachix.org"
|
||||
];
|
||||
|
||||
binaryCachePublicKeys = [
|
||||
trusted-public-keys = [
|
||||
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
||||
];
|
||||
};
|
||||
|
||||
extraOptions = ''
|
||||
experimental-features = nix-command flakes
|
||||
keep-derivations = true
|
||||
keep-outputs = true
|
||||
auto-optimise-store = true
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
|
@ -19,19 +19,22 @@ in
|
|||
nix = {
|
||||
package = pkgs.nixFlakes;
|
||||
|
||||
binaryCaches = [
|
||||
settings = {
|
||||
auto-optimise-store = true;
|
||||
|
||||
substituters = [
|
||||
"https://nix-community.cachix.org"
|
||||
];
|
||||
|
||||
binaryCachePublicKeys = [
|
||||
trusted-public-keys = [
|
||||
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
||||
];
|
||||
};
|
||||
|
||||
extraOptions = ''
|
||||
experimental-features = nix-command flakes
|
||||
keep-derivations = true
|
||||
keep-outputs = true
|
||||
auto-optimise-store = true
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue