hydra: own updater ssh keys to updater user

This commit is contained in:
Astro 2023-01-09 23:47:13 +01:00
parent f6fbb6ae04
commit a38bc1a12b
1 changed files with 2 additions and 0 deletions

View File

@ -292,10 +292,12 @@ in
path = "/root/.ssh/id_ed25519.pub";
};
"ssh-keys/updater/private" = {
owner = "updater";
mode = "400";
path = "/var/lib/updater/.ssh/id_ed25519";
};
"ssh-keys/updater/public" = {
owner = "updater";
mode = "440";
path = "/var/lib/updater/.ssh/id_ed25519.pub";
};