Files
nix-config/laptop/modules/ssh.nix
2023-10-30 10:34:49 +01:00

12 lines
225 B
Nix

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