HermitNix_DEPRECATED/Services/ssh.nix

13 lines
236 B
Nix

{ config, pkgs, ... }:
{ # Enable and configure openssh
services.openssh = {
enable = true;
settings = {
PasswordAuthentication = false;
PermitRootLogin = "no";
X11Forwarding = false;
};
};
}