10 lines
199 B
Nix
10 lines
199 B
Nix
|
{ ... }: {
|
||
|
services.openssh = {
|
||
|
enable = true;
|
||
|
permitRootLogin = "no";
|
||
|
# TODO: Allow root login from certain hosts.
|
||
|
# Then dissallow rest.
|
||
|
passwordAuthentication = true;
|
||
|
};
|
||
|
}
|