distributed builds fix public ssh keys
This commit is contained in:
parent
b5f95e60ee
commit
777ad73ed7
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
secrets = {
|
sops.secrets = {
|
||||||
"ssh_keys/root/remotebuild" = {
|
"ssh_keys/root/remotebuild" = {
|
||||||
path = "/root/.ssh/remotebuild";
|
path = "/root/.ssh/remotebuild";
|
||||||
};
|
};
|
||||||
|
|
|
@ -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 = {};
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPUPnjP4eql1QT4b9ewbyy7Dyk26PrlQlilO7/RBKCHz remote
|
Loading…
Reference in New Issue