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