mirror of
https://codeberg.org/leana8959/.files.git
synced 2026-02-01 14:39:39 +00:00
vanadium: configure remote builders
This commit is contained in:
parent
fd5e046406
commit
294868e522
2 changed files with 30 additions and 0 deletions
|
|
@ -94,6 +94,7 @@ in
|
||||||
./vanadium/nixos/input.nix
|
./vanadium/nixos/input.nix
|
||||||
|
|
||||||
./vanadium/nixos/misc.nix
|
./vanadium/nixos/misc.nix
|
||||||
|
./vanadium/nixos/remote-builders.nix
|
||||||
|
|
||||||
./vanadium/nixos/display.nix
|
./vanadium/nixos/display.nix
|
||||||
./vanadium/nixos/gui.nix
|
./vanadium/nixos/gui.nix
|
||||||
|
|
|
||||||
29
nix/configurations/vanadium/nixos/remote-builders.nix
Normal file
29
nix/configurations/vanadium/nixos/remote-builders.nix
Normal 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;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue