dotfiles/nixos/modules/open-ssh.nix
Bart van der Braak 8dd28119e7 full restructure
2025-01-17 01:25:44 +01:00

14 lines
No EOL
264 B
Nix

{ pkgs, ... }:
{
# Enable the OpenSSH daemon.
services.openssh = {
enable = true;
settings = {
PasswordAuthentication = false;
KbdInteractiveAuthentication = false;
PermitRootLogin = "no";
AllowUsers = [ "bart" ];
};
};
}