Files
dotfiles/modules/services/openssh/darwin.nix
2026-07-27 16:49:48 +09:00

12 lines
206 B
Nix

{
services.openssh = {
enable = true;
extraConfig = ''
PermitRootLogin no
PasswordAuthentication no
KbdInteractiveAuthentication no
PubkeyAuthentication yes
'';
};
}