services.openssh.settings.AllowGroups

If specified, login is allowed only for users part of the listed groups. See sshd_config(5) for details.

Type
null or (list of string)
Default
null
Declared
<nixpkgs/nixos/modules/services/networking/ssh/sshd.nix>