nix-config/hosts/modules/common/openssh.nix
2025-11-03 14:46:37 -03:00

11 lines
149 B
Nix

{ ... }:
{
services.openssh = {
enable = true;
settings.PermitRootLogin = "no";
extraConfig = ''
PrintLastLog no
'';
};
}