security.doas.extraRules.*.runAs

NixOS option

Which user or group the specified command is allowed to run as. When set to null (the default), all users are allowed. A user can be specified using just the username: "foo". It is also possible to only allow running as a specific group with ":bar".

type: null or string
Default
null
declared in: nixos/modules/security/doas.nixView source on NixOS/nixpkgs →