nixos/modules/openssh.nix

17 lines
237 B
Nix
Raw Normal View History

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