security.doas.extraRules.*.cmd

NixOS option

The command the user is allowed to run. When set to null (the default), all commands are allowed. NOTE: It is best practice to specify absolute paths. If a relative path is specified, only a restricted PATH will be searched.

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