perf: make nix substitutions faster
This commit is contained in:
parent
57a9709745
commit
0e103b7e10
2 changed files with 9 additions and 9 deletions
|
|
@ -68,13 +68,17 @@ in
|
|||
|
||||
settings = {
|
||||
substituters = [
|
||||
"https://cache.nixos.org/"
|
||||
"https://cache.nixos.org?priority=1"
|
||||
];
|
||||
trusted-public-keys = [
|
||||
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
|
||||
];
|
||||
|
||||
trusted-users = [ "root" "@wheel" ];
|
||||
|
||||
# https://bmcgee.ie/posts/2023/12/til-how-to-optimise-substitutions-in-nix/
|
||||
http-connections = 128;
|
||||
max-substitution-jobs = 128;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue