@cryptotaxi247 / infra / commits / b03f5e33

builders: drop tmpfs build dir on ax101r

Sorry for taking so long, but it's not worth the hassle for so little perf gain.

Martin Weinelt committed Jul 12, 2026 at 02:25 UTC b03f5e332d7d296c742b23696a9c371a91c37747
1 file changed -21
builders/profiles/hetzner-ax101r.nix
-21
@@ -1,6 +1,4 @@
1 {
2 - config,
3 - lib,
2 ...
3 }:
4
@@ -14,25 +12,6 @@
12 boot.zfs.forceImportRoot = false;
13 networking.hostId = "91312b0a";
14
17 - fileSystems."/nix/var/nix/builds" = {
18 - device = "none";
19 - fsType = "tmpfs";
20 - options = [
21 - "huge=within_size"
22 - "mode=0700"
23 - "nosuid"
24 - "nodev"
25 - ]
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.services.hydra-queue-builder-dev.supportedFeatures then
30 - [ "size=160G" ]
31 - else
32 - [ "size=128G" ]
33 - );
34 - };
35 -
15 boot.initrd.availableKernelModules = [
16 "nvme"
17 "usbhid"