nixos-module/{,container/}defaults: update to nix.settings

This commit is contained in:
Astro 2023-01-18 17:14:52 +01:00
parent d134e1018c
commit 418444853c
2 changed files with 11 additions and 7 deletions

View File

@ -19,9 +19,11 @@
);
nix = {
useSandbox = false;
maxJobs = lib.mkDefault 1;
buildCores = lib.mkDefault 1;
settings = {
sandbox = false;
max-jobs = lib.mkDefault 4;
cores = lib.mkDefault 4;
};
};
systemd.services =

View File

@ -26,10 +26,12 @@
nixpkgs.flake = inputs.nixpkgs;
};
binaryCachePublicKeys = [
"nix-serve.hq.c3d2.de:KZRGGnwOYzys6pxgM8jlur36RmkJQ/y8y62e52fj1ps=%"
];
binaryCaches = lib.mkBefore [ "https://hydra.hq.c3d2.de" ];
settings = {
substituters = lib.mkBefore [ "https://hydra.hq.c3d2.de" ];
trusted-public-keys = [
"nix-serve.hq.c3d2.de:KZRGGnwOYzys6pxgM8jlur36RmkJQ/y8y62e52fj1ps=%"
];
};
};
documentation = {