dotfiles.nix/nixos/common/global/ssh.nix

13 lines
178 B
Nix
Raw Normal View History

2024-01-14 06:29:18 +08:00
{ ... }:
{
services.openssh = {
enable = true;
settings = {
PermitRootLogin = "no";
PasswordAuthentication = false;
};
openFirewall = true;
};
}