Set up hydra as a remote build machine.

This commit is contained in:
Tom Alexander
2026-01-11 16:38:56 -05:00
committed by Tom Alexander
parent 24e03ed8f7
commit 776ed67675
11 changed files with 268 additions and 49 deletions

View File

@@ -36,6 +36,7 @@
createHome = true; # https://github.com/NixOS/nixpkgs/issues/6481
group = "nixworker";
# extraGroups = [ "wheel" ];
uid = 11400;
# Generate with `mkpasswd -m scrypt`
hashedPassword = "$7$CU..../....VXvNQ8za3wSGpdzGXNT50/$HcFtn/yvwPMCw4888BelpiAPLAxe/zU87fD.d/N6U48";
openssh.authorizedKeys.keys = [
@@ -47,6 +48,8 @@
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIB/IlYTQ0M5pFN5tdoswh37CDl/gbULI3h+SsKXCansh talexander@odo"
];
};
users.groups.nixworker = { };
users.groups.nixworker = {
gid = 11400;
};
};
}