Merge pull request 'users: disable password login for users in @wheel' (!62) from fix-deploy into main

Reviewed-on: https://git.pvv.ntnu.no/Drift/pvv-nixos-config/pulls/62
Reviewed-by: Oystein Kristoffer Tveit <oysteikt@pvv.ntnu.no>
This commit is contained in:
Peder Bergebakken Sundt 2024-08-14 17:31:08 +02:00
commit 0f5c48902b
1 changed files with 3 additions and 0 deletions

View File

@ -80,6 +80,9 @@
enable = true;
extraConfig = ''
PubkeyAcceptedAlgorithms=+ssh-rsa
Match Group wheel
PasswordAuthentication no
Match All
'';
settings.PermitRootLogin = "yes";
};