Move some settings to nixos-modules

This commit is contained in:
Sandro - 2023-11-27 00:46:56 +01:00
parent 00fa5141de
commit 177e5f7070
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
1 changed files with 2 additions and 4 deletions

View File

@ -110,10 +110,8 @@
];
registry.nixpkgs.flake = nixos;
settings = {
builders-use-substitutes = true; # TODO: move
connect-timeout = 20;
experimental-features = "nix-command flakes";
fallback = true;
# if a download from hydra fails, we want to stop and retry it, instead of building it
fallback = false;
trusted-public-keys = [
"nix-cache.hq.c3d2.de:KZRGGnwOYzys6pxgM8jlur36RmkJQ/y8y62e52fj1ps="
];