nix: tucked away hosts

This commit is contained in:
Primrose 2024-07-12 23:34:50 +02:00
parent f573e1a1a9
commit 32eafdd5fe
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
16 changed files with 2 additions and 3 deletions

View file

@ -1,74 +0,0 @@
{
nix.distributedBuilds = true;
# NOTE:
# https://github.com/NixOS/hydra/issues/584#issuecomment-1901289182
# use ssh-ng to "fix" not trusted user issue
nix.buildMachines = [
{
hostName = "carbon";
system = "x86_64-linux";
protocol = "ssh";
sshUser = "leana";
sshKey = "/Users/leana/.ssh/id_ed25519";
speedFactor = 2;
supportedFeatures = [
"nixos-test"
"benchmark"
"big-parallel"
"kvm"
];
mandatoryFeatures = [ ];
}
{
hostName = "oracle";
system = "aarch64-linux";
protocol = "ssh-ng";
sshUser = "ubuntu";
sshKey = "/Users/leana/.ssh/id_ed25519";
speedFactor = 8;
supportedFeatures = [
"nixos-test"
"benchmark"
"big-parallel"
"kvm"
];
mandatoryFeatures = [ ];
}
{
hostName = "paradize";
system = "aarch64-linux";
protocol = "ssh-ng";
sshUser = "leana";
sshKey = "/Users/leana/.ssh/id_ed25519";
speedFactor = 1;
supportedFeatures = [
"nixos-test"
"benchmark"
"big-parallel"
"kvm"
];
mandatoryFeatures = [ ];
}
{
hostName = "hydrogen";
system = "aarch64-linux";
protocol = "ssh-ng";
sshUser = "leana";
sshKey = "/Users/leana/.ssh/id_ed25519";
speedFactor = 1;
supportedFeatures = [
"nixos-test"
"benchmark"
"big-parallel"
"kvm"
];
mandatoryFeatures = [ ];
}
];
# optional, useful when the builder has a faster internet connection than yours
nix.extraOptions = ''
builders-use-substitutes = true
'';
}