8 lines
191 B
Nix
8 lines
191 B
Nix
{...}: {
|
|
services.openssh.enable = true;
|
|
services.openssh.settings = {
|
|
PermitRootLogin = true;
|
|
PasswordAuthentication = "no";
|
|
};
|
|
networking.firewall.allowedTCPPorts = [22];
|
|
}
|