nixos/modules/openssh.nix
2024-02-17 12:00:06 +01:00

17 lines
No EOL
232 B
Nix

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