tami-nix-infra/profiles/ssh.nix
2023-05-15 23:44:59 +03:00

11 lines
187 B
Nix

{
services.openssh = {
enable = true;
settings = {
passwordAuthentication = false;
kbdInteractiveAuthentication = false;
permitRootLogin = "no";
};
};
}