15 lines
209 B
Nix
15 lines
209 B
Nix
|
{ lib, ... }:
|
||
|
|
||
|
{
|
||
|
services.openssh = {
|
||
|
enable = true;
|
||
|
|
||
|
openFirewall = lib.mkForce true;
|
||
|
|
||
|
settings = {
|
||
|
PasswordAuthentication = false;
|
||
|
PermitRootLogin = lib.mkForce "no";
|
||
|
};
|
||
|
};
|
||
|
}
|