nix-dotfiles/hosts/common/services/openssh.nix

13 lines
241 B
Nix
Raw Normal View History

{ ... }:
{
services.openssh = {
startWhenNeeded = true;
settings = {
StreamLocalBindUnlink = true;
PasswordAuthentication = false;
KbdInteractiveAuthentication = false;
PermitRootLogin = "no";
};
};
}