services.openssh.settings.AllowUsers

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

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