Add custom Nix cache to Nix configs

This commit is contained in:
2022-07-16 21:04:11 +01:00
parent 0ca615a389
commit 1b67ac1da0
3 changed files with 18 additions and 0 deletions

View File

@@ -48,6 +48,13 @@ in
settings = {
trusted-users = [ "@wheel" ];
experimental-features = [ "nix-command" "flakes" "ca-derivations" ];
substituters = [
"https://nix-cache.nul.ie"
"https://cache.nixos.org"
];
trusted-public-keys = [
lib.my.nix.cacheKey
];
};
registry = {
pkgs = {