services.openssh.settings.DenyGroups

If specified, login is denied for all users part of the listed groups. Takes precedence over services.openssh.settings.AllowGroups. See sshd_config(5) for details.

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