common/nix: remove builders bob, add wenche and gluttony
This commit is contained in:
@@ -1,37 +0,0 @@
|
||||
{ config, ... }:
|
||||
{
|
||||
sops.secrets."ssh/nix-builders/bob/key" = { sopsFile = ./../../../secrets/common.yaml; };
|
||||
|
||||
nix.buildMachines = [{
|
||||
hostName = "nix-builder-bob";
|
||||
system = "x86_64-linux";
|
||||
speedFactor = 5;
|
||||
maxJobs = 24;
|
||||
supportedFeatures = [
|
||||
"nixos-test"
|
||||
"benchmark"
|
||||
"big-paralell"
|
||||
];
|
||||
mandatoryFeatures = [ ];
|
||||
sshUser = "oysteikt";
|
||||
sshKey = config.sops.secrets."ssh/nix-builders/bob/key".path;
|
||||
}];
|
||||
|
||||
programs.ssh = {
|
||||
extraConfig = ''
|
||||
Host nix-builder-bob
|
||||
HostName bob.pvv.ntnu.no
|
||||
ProxyJump nix-builder-isvegg
|
||||
User oysteikt
|
||||
IdentityFile ${config.sops.secrets."ssh/nix-builders/bob/key".path}
|
||||
'';
|
||||
|
||||
knownHosts.bob = {
|
||||
hostNames = [
|
||||
"bob.pvv.ntnu.no"
|
||||
"bob.pvv.org"
|
||||
];
|
||||
publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGJSgh20qDIYEXiK4MUZhc879dJIyH0K/s0RZ+9wFI0F";
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
{ config, ... }:
|
||||
{
|
||||
# sops.secrets."ssh/nix-builders/gluttony/key" = { sopsFile = ./../../../secrets/common.yaml; };
|
||||
|
||||
nix.buildMachines = [{
|
||||
hostName = "nix-builder-gluttony";
|
||||
system = "x86_64-linux";
|
||||
speedFactor = 1;
|
||||
maxJobs = 8;
|
||||
supportedFeatures = [ ];
|
||||
mandatoryFeatures = [ ];
|
||||
sshUser = "oysteikt";
|
||||
sshKey = "/home/h7x4/.ssh/id_rsa";
|
||||
# sshKey = config.sops.secrets."ssh/nix-builders/gluttony/key".path;
|
||||
}];
|
||||
|
||||
programs.ssh.extraConfig = ''
|
||||
Host nix-builder-gluttony
|
||||
HostName 129.241.100.118
|
||||
ProxyJump microbel.pvv.ntnu.no
|
||||
User oysteikt
|
||||
IdentityFile "/home/h7x4/.ssh/id_rsa"
|
||||
'';
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
{ config, ... }:
|
||||
{
|
||||
# sops.secrets."ssh/nix-builders/wenche/key" = { sopsFile = ./../../../secrets/common.yaml; };
|
||||
|
||||
nix.buildMachines = [{
|
||||
hostName = "nix-builder-wenche";
|
||||
system = "x86_64-linux";
|
||||
speedFactor = 1;
|
||||
maxJobs = 8;
|
||||
supportedFeatures = [ ];
|
||||
mandatoryFeatures = [ ];
|
||||
sshUser = "oysteikt";
|
||||
sshKey = "/home/h7x4/.ssh/id_rsa";
|
||||
# sshKey = config.sops.secrets."ssh/nix-builders/wenche/key".path;
|
||||
}];
|
||||
|
||||
programs.ssh.extraConfig = ''
|
||||
Host nix-builder-wenche
|
||||
HostName wenche.pvv.ntnu.no
|
||||
ProxyJump microbel.pvv.ntnu.no
|
||||
User oysteikt
|
||||
IdentityFile "/home/h7x4/.ssh/id_rsa"
|
||||
'';
|
||||
}
|
||||
@@ -1,8 +1,9 @@
|
||||
{ config, lib, unstable-pkgs, ... }:
|
||||
{
|
||||
imports = [
|
||||
./nix-builders/bob.nix
|
||||
./nix-builders/isvegg.nix
|
||||
./nix-builders/wenche.nix
|
||||
./nix-builders/gluttony.nix
|
||||
./nix-builders/tsuki.nix
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user