2022-08-11 02:57:40 +03:00
|
|
|
{inputs, ...}: {
|
|
|
|
services.fail2ban.enable = true;
|
|
|
|
services.openssh = {
|
|
|
|
enable = true;
|
|
|
|
passwordAuthentication = false;
|
|
|
|
};
|
|
|
|
users.users.root.openssh.authorizedKeys.keys = [
|
2023-05-05 03:50:25 +03:00
|
|
|
(builtins.readFile "${inputs.self}/secrets/yusdacra.key.pub")
|
2022-08-11 02:57:40 +03:00
|
|
|
];
|
|
|
|
}
|