pvv-nixos-config/base/services/openssh.nix

13 lines
240 B
Nix

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