Merge pull request #42845 from ivanbrennan/nixos-sudo-describe-rules-precedence
nixos/security.sudo: Document ordering of extraRules
This commit is contained in:
commit
3ea5b15c20
1 changed files with 3 additions and 0 deletions
|
@ -66,6 +66,9 @@ in
|
||||||
security.sudo.extraRules = mkOption {
|
security.sudo.extraRules = mkOption {
|
||||||
description = ''
|
description = ''
|
||||||
Define specific rules to be in the <filename>sudoers</filename> file.
|
Define specific rules to be in the <filename>sudoers</filename> file.
|
||||||
|
More specific rules should come after more general ones in order to
|
||||||
|
yield the expected behavior. You can use mkBefore/mkAfter to ensure
|
||||||
|
this is the case when configuration options are merged.
|
||||||
'';
|
'';
|
||||||
default = [];
|
default = [];
|
||||||
example = [
|
example = [
|
||||||
|
|
Loading…
Reference in a new issue