nix-config/modules/nixos-modules/ssh.nix

14 lines
217 B
Nix

{...}: {
services = {
openssh = {
enable = true;
ports = [22];
settings = {
PasswordAuthentication = false;
UseDns = true;
X11Forwarding = false;
};
};
};
}