tami-nix-infra/profiles/ssh.nix

11 lines
187 B
Nix
Raw Normal View History

2023-05-15 23:44:20 +03:00
{
services.openssh = {
enable = true;
settings = {
passwordAuthentication = false;
kbdInteractiveAuthentication = false;
permitRootLogin = "no";
};
};
}