clan: migrate admin module to sshd
This commit is contained in:
parent
4caca847ce
commit
c42152df9d
1 changed files with 4 additions and 11 deletions
|
|
@ -13,17 +13,6 @@
|
||||||
"age-plugin-yubikey"
|
"age-plugin-yubikey"
|
||||||
];
|
];
|
||||||
|
|
||||||
clan.inventory.instances."rpqt-admin" = {
|
|
||||||
module.input = "clan-core";
|
|
||||||
module.name = "admin";
|
|
||||||
roles.default.tags.server = { };
|
|
||||||
roles.default.machines.haze = { };
|
|
||||||
roles.default.settings.allowedKeys = {
|
|
||||||
rpqt_haze = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGa8R8obgptefcp27Cdp9bc2fiyc9x0oTfMsTPFp2ktE rpqt@haze";
|
|
||||||
nixbld_haze = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIyNC2sn5m7m52r4kVZqg0T7abqdz5xh/blU3cYtHKAE nixbld@haze";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
clan.inventory.instances."sshd" = {
|
clan.inventory.instances."sshd" = {
|
||||||
module.input = "clan-core";
|
module.input = "clan-core";
|
||||||
module.name = "sshd";
|
module.name = "sshd";
|
||||||
|
|
@ -35,6 +24,10 @@
|
||||||
certificate.searchDomains = [
|
certificate.searchDomains = [
|
||||||
"home.rpqt.fr"
|
"home.rpqt.fr"
|
||||||
];
|
];
|
||||||
|
authorizedKeys = {
|
||||||
|
rpqt_haze = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGa8R8obgptefcp27Cdp9bc2fiyc9x0oTfMsTPFp2ktE rpqt@haze";
|
||||||
|
nixbld_haze = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIyNC2sn5m7m52r4kVZqg0T7abqdz5xh/blU3cYtHKAE nixbld@haze";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
roles.client.tags.all = { };
|
roles.client.tags.all = { };
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue