nixos/modules/openssh.nix

12 lines
185 B
Nix
Raw Normal View History

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