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 = {
autoOptimiseStore = true;
binaryCachePublicKeys = 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" ]
);
settings = {
auto-optimise-store = true;
trusted-public-keys = lib.mkIf (config.networking.hostName != "hydra") [
(builtins.readFile ../hosts/hydra/cache-pub.key)
];
substituters = lib.mkIf (config.networking.hostName != "hydra") (
lib.mkBefore [ "https://hydra.hq.c3d2.de" ]
);
};
gc = {
automatic = true;
dates = "06:00";

View File

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