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

13 lines
221 B
Nix

{...}: {
services.openssh = {
enable = true;
settings = {
PermitRootLogin = "no";
PasswordAuthentication = false;
LogLevel = "VERBOSE";
};
ports = [22];
openFirewall = true;
};
}