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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
268 B
Nix
Raw Permalink Normal View History

2024-08-31 22:23:09 +02:00
{ ... }:
{
services.openssh = {
enable = true;
2024-09-01 03:21:13 +02:00
startWhenNeeded = true;
2024-08-31 22:23:09 +02:00
extraConfig = ''
PubkeyAcceptedAlgorithms=+ssh-rsa
Match Group wheel
PasswordAuthentication no
Match All
'';
settings.PermitRootLogin = "yes";
};
}