distributed builds fix public ssh keys

This commit is contained in:
Sam 2025-01-08 12:15:11 +00:00
parent b5f95e60ee
commit 777ad73ed7
3 changed files with 5 additions and 7 deletions

View File

@ -1,5 +1,5 @@
{ {
secrets = { sops.secrets = {
"ssh_keys/root/remotebuild" = { "ssh_keys/root/remotebuild" = {
path = "/root/.ssh/remotebuild"; path = "/root/.ssh/remotebuild";
}; };

View File

@ -1,15 +1,12 @@
{ {
secrets = {
"ssh_keys/root/remotebuild.pub" = {
path = "/root/.ssh/remotebuild.pub";
};
};
users.users.remotebuild = { users.users.remotebuild = {
isNormalUser = true; isNormalUser = true;
createHome = false; createHome = false;
group = "remotebuild"; group = "remotebuild";
openssh.authorizedKeys.keyFiles = [/root/.ssh/remotebuild.pub]; openssh.authorizedKeys.keyFiles = [
./remotebuild.pub
];
}; };
users.groups.remotebuild = {}; users.groups.remotebuild = {};

View File

@ -0,0 +1 @@
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPUPnjP4eql1QT4b9ewbyy7Dyk26PrlQlilO7/RBKCHz remote