Add a nix_worker role for nix builders.

This commit is contained in:
Tom Alexander
2025-05-04 15:31:13 -04:00
parent 7f4c41bb32
commit 4a303d17d8
7 changed files with 74 additions and 12 deletions

View File

@@ -45,13 +45,9 @@
me.emacs_flavor = "plainmacs";
me.graphical = false;
me.hydra.enable = false;
me.nix_worker.enable = true;
me.vm_disk.enable = true;
me.wireguard.activated = [ ];
me.wireguard.deactivated = [ ];
me.zsh.enable = true;
# Trust this key so nix running as root can ssh into hydra.
users.users.talexander.openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIB/IlYTQ0M5pFN5tdoswh37CDl/gbULI3h+SsKXCansh talexander@odo"
];
}

View File

@@ -13,7 +13,7 @@
nix.buildMachines = [
{
hostName = "hydra";
sshUser = "talexander";
sshUser = "nixworker";
systems = [
"x86_64-linux"
# "aarch64-linux"
@@ -25,14 +25,14 @@
"benchmark"
"big-parallel"
# "kvm"
"gccarch-znver4"
"gccarch-x86-64-v3"
"gccarch-x86-64-v4"
"gccarch-znver4"
];
}
{
hostName = "quark";
sshUser = "talexander";
sshUser = "nixworker";
systems = [
"x86_64-linux"
# "aarch64-linux"
@@ -44,9 +44,9 @@
"benchmark"
"big-parallel"
# "kvm"
"gccarch-znver4"
"gccarch-x86-64-v3"
"gccarch-x86-64-v4"
"gccarch-znver4"
"gccarch-znver5"
];
}

View File

@@ -58,6 +58,7 @@
me.lvfs.enable = true;
me.media.enable = true;
me.nix_index.enable = true;
me.nix_worker.enable = true;
me.pcsx2.enable = true;
me.python.enable = true;
me.qemu.enable = true;

View File

@@ -13,7 +13,7 @@
nix.buildMachines = [
{
hostName = "hydra";
sshUser = "talexander";
sshUser = "nixworker";
systems = [
"x86_64-linux"
# "aarch64-linux"
@@ -25,9 +25,9 @@
"benchmark"
"big-parallel"
# "kvm"
"gccarch-znver4"
"gccarch-x86-64-v3"
"gccarch-x86-64-v4"
"gccarch-znver4"
];
}
];