mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 17:17:22 +01:00
15 lines
370 B
Nix
15 lines
370 B
Nix
{ self, ... }:
|
|
{
|
|
services.openssh = {
|
|
enable = true;
|
|
};
|
|
users.users.swarsel.openssh.authorizedKeys.keyFiles = [
|
|
(self + /secrets/keys/ssh/nbl-imba-2.pub)
|
|
(self + /secrets/keys/ssh/magicant.pub)
|
|
];
|
|
users.users.root.openssh.authorizedKeys.keyFiles = [
|
|
(self + /secrets/keys/ssh/nbl-imba-2.pub)
|
|
(self + /secrets/keys/ssh/magicant.pub)
|
|
];
|
|
|
|
}
|