nixos/modules/openssh.nix
2024-02-17 11:56:20 +01:00

14 lines
No EOL
210 B
Nix

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