security.doas.extraRules.*.runAs
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
- <nixpkgs/nixos/modules/security/doas.nix>