treewide: add defaultText (manual)
This enables generating module option documentation. Add `defaultText` to options where the default value can't be evaluated during metadata generation.
This commit is contained in:
@@ -8,6 +8,7 @@ let
|
||||
program = mkOption {
|
||||
readOnly = true;
|
||||
default = script;
|
||||
defaultText = "(See source)";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user