nix-config/bak/modules/openssh/default.nix
2026-03-03 10:46:08 +01:00

12 lines
198 B
Nix

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