Files
nix/hosts/common/configs/system/sshd/default.nix
Nikolaos Karaolidis 3360e7f8c3 Refactor some modules
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
2025-02-22 23:46:19 +00:00

16 lines
263 B
Nix

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