nix/modules/ssh/default.nix

14 lines
176 B
Nix
Raw Normal View History

2024-08-18 14:59:43 +02:00
{ ... }:
{
services.openssh = {
enable = true;
authorizedKeysFiles = [
];
settings = {
PasswordAuthentication = false;
PermitRootLogin = "no";
};
};
}