nixos/modules/openssh.nix

14 lines
210 B
Nix
Raw Normal View History

{ config, pkgs, ... }:
2024-02-17 11:56:20 +01:00
{
services.openssh = {
enable = true;
passwordAuthentication = true;
listenAddresses = [
{
addr = "192.168.1.0/24";
port = "22";
}
];
};
}