main
nix 50 lines 972 Bytes
Raw
1 {
2 config,
3 lib,
4 ...
5 }:
6
7 {
8 imports = [
9 ../profiles/hetzner-rx220.nix
10 ];
11
12 nix.settings = {
13 cores = 2;
14 max-jobs = 40;
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 = "goofy-hopcroft";
23 domain = "builders.nixos.org";
24 useDHCP = false;
25 };
26
27 systemd.network = {
28 enable = true;
29 networks = {
30 "30-enP3p2s0f0" = {
31 matchConfig = {
32 MACAddress = "74:56:3c:8c:01:a9";
33 Type = "ether";
34 };
35 linkConfig.RequiredForOnline = true;
36 networkConfig.Description = "WAN";
37 address = [
38 "135.181.225.104/26"
39 "2a01:4f9:3071:2d8b::1/64"
40 ];
41 routes = [
42 { Gateway = "135.181.225.65"; }
43 { Gateway = "fe80::1"; }
44 ];
45 };
46 };
47 };
48
49 system.stateVersion = "24.11";
50 }