Tune supported features on Linux builders
Martin Weinelt committed
Jun 19, 2026 at 01:27 UTC
affacd1b87dc3fe63fa79f763ff9778608c80a5b
6 files changed
+21
-8
builders/common/nix.nix
-5
@@ -27,11 +27,6 @@
27
"nix-command"
28
"flakes"
29
];
30
- system-features = [
31
- "kvm"
32
- "nixos-test"
33
- "benchmark" # we may restrict this in the central /etc/nix/machines anyway
34
- ];
30
trusted-users = [
31
"build"
32
"root"
builders/instances/elated-minsky.nix
+10
@@ -1,3 +1,9 @@
1
+{
2
+ config,
3
+ lib,
4
+ ...
5
+}:
6
+
7
{
8
imports = [
9
../profiles/hetzner-ax101r.nix
@@ -8,6 +14,10 @@
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";
builders/instances/goofy-hopcroft.nix
+10
@@ -1,3 +1,9 @@
1
+{
2
+ config,
3
+ lib,
4
+ ...
5
+}:
6
+
7
{
8
imports = [
9
../profiles/hetzner-rx220.nix
@@ -8,6 +14,10 @@
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";
builders/instances/hopeful-rivest.nix
-1
@@ -6,7 +6,6 @@
6
nix.settings = {
7
cores = 20;
8
max-jobs = 10;
9
- system-features = [ "big-parallel" ];
9
};
10
11
services.hydra-queue-builder-dev.mandatoryFeatures = [ "big-parallel" ];
builders/instances/sleepy-brown.nix
-1
@@ -6,7 +6,6 @@
6
nix.settings = {
7
cores = 24;
8
max-jobs = 4;
9
- system-features = [ "big-parallel" ];
9
};
10
11
services.hydra-queue-builder-dev.mandatoryFeatures = [ "big-parallel" ];
builders/profiles/hetzner-ax101r.nix
+1
-1
@@ -26,7 +26,7 @@
26
# 128G tmpfs, 128G RAM (+zram swap) for standard builders
27
# 160GB tmpfs, 96 GB RAM (+zram swap) for big-parallel builders
28
++ (
29
- if lib.elem "big-parallel" config.nix.settings.system-features then
29
+ if lib.elem "big-parallel" config.services.hydra-queue-builder-dev.supportedFeatures then
30
[ "size=160G" ]
31
else
32
[ "size=128G" ]