pvv-nixos-config/base/services/openssh.nix
2024-09-01 03:21:13 +02:00

14 lines
268 B
Nix

{ ... }:
{
services.openssh = {
enable = true;
startWhenNeeded = true;
extraConfig = ''
PubkeyAcceptedAlgorithms=+ssh-rsa
Match Group wheel
PasswordAuthentication no
Match All
'';
settings.PermitRootLogin = "yes";
};
}