forked from zentralwerk/network
nixos-module/{,container/}defaults: update to nix.settings
This commit is contained in:
parent
d134e1018c
commit
418444853c
|
@ -19,9 +19,11 @@
|
||||||
);
|
);
|
||||||
|
|
||||||
nix = {
|
nix = {
|
||||||
useSandbox = false;
|
settings = {
|
||||||
maxJobs = lib.mkDefault 1;
|
sandbox = false;
|
||||||
buildCores = lib.mkDefault 1;
|
max-jobs = lib.mkDefault 4;
|
||||||
|
cores = lib.mkDefault 4;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.services =
|
systemd.services =
|
||||||
|
|
|
@ -26,10 +26,12 @@
|
||||||
nixpkgs.flake = inputs.nixpkgs;
|
nixpkgs.flake = inputs.nixpkgs;
|
||||||
};
|
};
|
||||||
|
|
||||||
binaryCachePublicKeys = [
|
settings = {
|
||||||
|
substituters = lib.mkBefore [ "https://hydra.hq.c3d2.de" ];
|
||||||
|
trusted-public-keys = [
|
||||||
"nix-serve.hq.c3d2.de:KZRGGnwOYzys6pxgM8jlur36RmkJQ/y8y62e52fj1ps=%"
|
"nix-serve.hq.c3d2.de:KZRGGnwOYzys6pxgM8jlur36RmkJQ/y8y62e52fj1ps=%"
|
||||||
];
|
];
|
||||||
binaryCaches = lib.mkBefore [ "https://hydra.hq.c3d2.de" ];
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
documentation = {
|
documentation = {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user