nix/modules/ssh/default.nix
2024-08-18 14:59:43 +02:00

14 lines
176 B
Nix

{ ... }:
{
services.openssh = {
enable = true;
authorizedKeysFiles = [
];
settings = {
PasswordAuthentication = false;
PermitRootLogin = "no";
};
};
}