Merge pull request #42845 from ivanbrennan/nixos-sudo-describe-rules-precedence

nixos/security.sudo: Document ordering of extraRules
This commit is contained in:
Joachim F 2018-07-02 23:55:56 +00:00 committed by GitHub
commit 3ea5b15c20
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 = [