misc: ensure all options have a description

This commit is contained in:
Gaetan Lepage 2024-06-09 23:04:27 +02:00 committed by Gaétan Lepage
parent 3be9db71c2
commit 7a2d065cce
13 changed files with 127 additions and 43 deletions

View file

@ -17,7 +17,20 @@ let
(listOf (
either str (submodule {
options = {
priority = mkOption { type = int; };
priority = mkOption {
type = ints.unsigned;
description = ''
Filename patterns can specify an optional priority to resolve cases when a file path
matches multiple patterns.
Higher priorities are matched first.
When omitted, the priority defaults to 0.
A pattern can contain environment variables of the form `"''${SOME_VAR}"` that will
be automatically expanded.
If the environment variable is not set, the pattern won't be matched.
'';
};
};
})
))