nix.settings.trusted-users

NixOS option

list of string

A list of names of users that have additional rights when connecting to the Nix daemon, such as the ability to specify additional binary caches, or to import unsigned NARs. You can also specify groups by prefixing them with @; for instance, @wheel means all users in the wheel group. root is included as a regular definition, so you do not have to repeat it. Furthermore, root normally bypasses the daemon.

type: list of string
Default
[ ]
Example
[
  "alice"
  "@wheel"
]
declared in: nixos/modules/config/nix.nixView source on NixOS/nixpkgs →