9 lines
170 B
Nix
9 lines
170 B
Nix
{...}: {
|
|
services.openssh = {
|
|
enable = true;
|
|
passwordAuthentication = false;
|
|
permitRootLogin = "prohibit-password";
|
|
pubKeyAuthentication = true;
|
|
};
|
|
}
|