config/hosts/proxy/services/sshd.nix

8 lines
168 B
Nix

{ config, ... }: {
services.openssh = {
enable = true;
permitRootLogin = "yes";
};
networking.firewall.allowedTCPPorts = config.services.openssh.ports;
}