1
0

hosts/hydra-*: enable distributed builds

This commit is contained in:
2022-10-15 16:04:40 +02:00
parent 701f8bd41f
commit fa025a7a65
2 changed files with 16 additions and 2 deletions

View File

@@ -21,8 +21,16 @@
networking.defaultGateway = { address = "192.168.10.1"; interface = "ens19"; };
networking.nameservers = [ "2001:638:904:ffcc::3" "2001:638:904:ffcc::4" "141.24.40.3" "141.24.40.4" ];
# Allow Hydra to fetch remote URLs in restricted mode
nix.settings.allowed-uris = "http:// https://";
nix = {
settings.allowed-uris = "http:// https://";
distributedBuilds = true;
buildMachines = [
{
hostName = "hydra-2.net.clerie.de";
system = "x86_64-linux";
}
];
};
services.hydra = {
enable = true;