1
0
Fork 0

config/c3d2, modules/microvm-host: update outdated nix.settings

This commit is contained in:
Astro 2022-09-22 02:08:17 +02:00
parent a2df57960d
commit fb766a7d22
2 changed files with 12 additions and 10 deletions

View File

@ -151,13 +151,15 @@ in {
}; };
nix = { nix = {
autoOptimiseStore = true; settings = {
binaryCachePublicKeys = lib.mkIf (config.networking.hostName != "hydra") [ auto-optimise-store = true;
(builtins.readFile ../hosts/hydra/cache-pub.key) trusted-public-keys = lib.mkIf (config.networking.hostName != "hydra") [
]; (builtins.readFile ../hosts/hydra/cache-pub.key)
binaryCaches = lib.mkIf (config.networking.hostName != "hydra") ( ];
lib.mkBefore [ "https://hydra.hq.c3d2.de" ] substituters = lib.mkIf (config.networking.hostName != "hydra") (
); lib.mkBefore [ "https://hydra.hq.c3d2.de" ]
);
};
gc = { gc = {
automatic = true; automatic = true;
dates = "06:00"; dates = "06:00";

View File

@ -58,12 +58,12 @@
''; '';
}; };
nix = { nix.settings = {
# fetch github-prebuilt microvm-kernels # fetch github-prebuilt microvm-kernels
binaryCaches = [ substituters = [
"https://microvm.cachix.org" "https://microvm.cachix.org"
]; ];
binaryCachePublicKeys = [ trusted-public-keys = [
"microvm.cachix.org-1:oXnBc6hRE3eX5rSYdRyMYXnfzcCxC7yKPTbZXALsqys=" "microvm.cachix.org-1:oXnBc6hRE3eX5rSYdRyMYXnfzcCxC7yKPTbZXALsqys="
]; ];
}; };