10 lines
204 B
Nix
10 lines
204 B
Nix
{
|
|
networking.firewall.allowedTCPPorts = [22];
|
|
services.openssh = {
|
|
enable = true;
|
|
settings = {
|
|
passwordAuthentication = false;
|
|
KbdInteractiveAuthentication = false;
|
|
};
|
|
};
|
|
};
|