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