nixos/modules/openssh.nix

12 lines
No EOL
185 B
Nix

{ config, pkgs, ... }:
services.openssh = {
enable = true;
passwordAuthentication = true;
listenAddresses = [
{
addr = "192.168.1.0/24";
port = "22";
}
]
};