users: disable password login for users in @wheel
This commit is contained in:
parent
2f3bcaf124
commit
36a8868f94
3
base.nix
3
base.nix
@ -80,6 +80,9 @@
|
||||
enable = true;
|
||||
extraConfig = ''
|
||||
PubkeyAcceptedAlgorithms=+ssh-rsa
|
||||
Match Group wheel
|
||||
PasswordAuthentication no
|
||||
Match All
|
||||
'';
|
||||
settings.PermitRootLogin = "yes";
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user