mirror of
https://git.pvv.ntnu.no/Drift/pvv-nixos-config.git
synced 2024-12-04 19:40:07 +01:00
14 lines
268 B
Nix
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";
|
|
};
|
|
} |