config/c3d2, modules/microvm-host: update outdated nix.settings
This commit is contained in:
parent
a2df57960d
commit
fb766a7d22
|
@ -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";
|
||||
|
|
|
@ -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="
|
||||
];
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue