mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 17:17:22 +01:00
chore: update ssh keys structure
This commit is contained in:
parent
c99993330e
commit
eb1d563c35
8 changed files with 14 additions and 124 deletions
|
|
@ -2,15 +2,14 @@
|
|||
{
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
settings.PermitRootLogin = "yes";
|
||||
};
|
||||
users.users.swarsel.openssh.authorizedKeys.keyFiles = [
|
||||
(self + /secrets/keys/authorized_keys)
|
||||
(self + /secrets/keys/magicant.pub)
|
||||
(self + /secrets/keys/ssh/nbl-imba-2.pub)
|
||||
(self + /secrets/keys/ssh/magicant.pub)
|
||||
];
|
||||
users.users.root.openssh.authorizedKeys.keyFiles = [
|
||||
(self + /secrets/keys/authorized_keys)
|
||||
(self + /secrets/keys/magicant.pub)
|
||||
(self + /secrets/keys/ssh/nbl-imba-2.pub)
|
||||
(self + /secrets/keys/ssh/magicant.pub)
|
||||
];
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue