17 lines
No EOL
235 B
Nix
17 lines
No EOL
235 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
services.openssh = {
|
|
enable = true;
|
|
listenAddresses = [
|
|
{
|
|
addr = "192.168.1.0/24";
|
|
port = 22;
|
|
}
|
|
];
|
|
|
|
settings = {
|
|
PasswordAuthentication = true;
|
|
};
|
|
};
|
|
} |