nix-config/modules/openssh/default.nix

12 lines
198 B
Nix

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