Merge pull request #257 from horriblename/docs-setupOpts

docs: more detail in setupOpts + migration guide
This commit is contained in:
raf 2024-04-20 13:58:30 +00:00 committed by GitHub
commit 82499551f3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 42 additions and 1 deletions

View file

@ -90,7 +90,13 @@ in {
*/
mkPluginSetupOption = pluginName: opts:
mkOption {
description = "Option table to pass into the setup function of " + pluginName;
description = ''
Option table to pass into the setup function of ${pluginName}
You can pass in any additional options even if they're
not listed in the docs
'';
default = {};
type = submodule {
freeformType = attrsOf anything;