12 lines
233 B
Nix
12 lines
233 B
Nix
{ ... }: {
|
|
services.openssh = {
|
|
enable = true;
|
|
settings = {
|
|
X11Forwarding = true;
|
|
PermitRootLogin = "no";
|
|
PasswordAuthentication = false;
|
|
};
|
|
startWhenNeeded = true;
|
|
openFirewall = true;
|
|
};
|
|
}
|