vanadium: configure remote builders

This commit is contained in:
Primrose 2026-01-17 23:57:27 +01:00
parent fd5e046406
commit 294868e522
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
2 changed files with 30 additions and 0 deletions

View file

@ -94,6 +94,7 @@ in
./vanadium/nixos/input.nix
./vanadium/nixos/misc.nix
./vanadium/nixos/remote-builders.nix
./vanadium/nixos/display.nix
./vanadium/nixos/gui.nix

View file

@ -0,0 +1,29 @@
let
supportedFeatures = [
"nixos-test"
"benchmark"
"big-parallel"
"kvm"
];
in
{pkgs, ...}:
{
nix.buildMachines = [
# NOTE: these hosts need to be put in the .ssh/config of root.
# https://wiki.nixos.org/wiki/Distributed_build#Recommended_setup:_multi-user_Nix_local_%E2%80%93%3E_multi-user_Nix_remote
{
hostName = "pancake";
sshUser = "remotebuild";
speedFactor = 2;
system = pkgs.stdenv.hostPlatform.system;
inherit supportedFeatures;
}
{
hostName = "hetzner_benchmark";
sshUser = "remotebuild";
speedFactor = 12;
system = pkgs.stdenv.hostPlatform.system;
inherit supportedFeatures;
}
];
}