| 1 | { |
| 2 | config, |
| 3 | lib, |
| 4 | ... |
| 5 | }: |
| 6 | |
| 7 | { |
| 8 | imports = [ |
| 9 | ../profiles/hetzner-ax101r.nix |
| 10 | ]; |
| 11 | |
| 12 | nix.settings = { |
| 13 | cores = 2; |
| 14 | max-jobs = 48; |
| 15 | }; |
| 16 | |
| 17 | services.hydra-queue-builder-dev.supportedFeatures = lib.filter (feat: feat != "big-parallel") ( |
| 18 | with config.nix.settings; system-features ++ extra-system-features |
| 19 | ); |
| 20 | |
| 21 | networking = { |
| 22 | hostName = "elated-minsky"; |
| 23 | domain = "builders.nixos.org"; |
| 24 | useDHCP = false; |
| 25 | }; |
| 26 | |
| 27 | systemd.network = { |
| 28 | enable = true; |
| 29 | networks = { |
| 30 | "30-enp193s0f0np0" = { |
| 31 | matchConfig = { |
| 32 | MACAddress = "9c:6b:00:4e:1a:6a"; |
| 33 | Type = "ether"; |
| 34 | }; |
| 35 | linkConfig.RequiredForOnline = true; |
| 36 | networkConfig.Description = "WAN"; |
| 37 | address = [ |
| 38 | "167.235.95.99/26" |
| 39 | "2a01:4f8:2220:1b03::1/64" |
| 40 | ]; |
| 41 | routes = [ |
| 42 | { Gateway = "167.235.95.65"; } |
| 43 | { Gateway = "fe80::1"; } |
| 44 | ]; |
| 45 | }; |
| 46 | }; |
| 47 | }; |
| 48 | |
| 49 | system.stateVersion = "24.11"; |
| 50 | } |