nix.settings.allowed-users
NixOS option
A list of names of users (separated by whitespace) that are allowed to connect to the Nix daemon. As with nix.settings.trusted-users, you can specify groups by prefixing them with @. Also, you can allow all users by specifying *. The default is *. Note that trusted users are always allowed to connect.
type: list of stringDefault
[ "*" ]
Example
declared in: nixos/modules/config/nix.nixView source on NixOS/nixpkgs →[ "@wheel" "@builders" "alice" "bob" ]