services.openssh.settings.DenyGroups

NixOS option

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 in: nixos/modules/services/networking/ssh/sshd.nixView source on NixOS/nixpkgs →