1
0
Fork 0
dotfiles/system/nixos/ssh.nix

12 lines
203 B
Nix
Raw Permalink Normal View History

2022-07-30 17:49:04 +00:00
{
2022-07-31 19:23:28 +00:00
services.openssh = {
enable = true;
2023-01-22 12:50:29 +00:00
settings = {
PasswordAuthentication = false;
KbdInteractiveAuthentication = false;
PermitRootLogin = "prohibit-password";
2023-01-22 12:50:29 +00:00
};
2022-07-31 19:23:28 +00:00
};
2022-07-30 17:49:04 +00:00
}