mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-09-06 10:21:31 +00:00
dev: custom type for extraPlugin module
This commit is contained in:
parent
eaab87d151
commit
2319ee082c
3 changed files with 25 additions and 1 deletions
|
@ -97,7 +97,26 @@ with lib; let
|
|||
package
|
||||
)
|
||||
);
|
||||
|
||||
extraPluginType = with types;
|
||||
submodule {
|
||||
options = {
|
||||
package = mkOption {
|
||||
type = pluginsType;
|
||||
};
|
||||
dependencies = mkOption {
|
||||
type = listOf str;
|
||||
default = [];
|
||||
};
|
||||
setup = mkOption {
|
||||
type = lines;
|
||||
default = "";
|
||||
};
|
||||
};
|
||||
};
|
||||
in {
|
||||
inherit extraPluginType;
|
||||
|
||||
pluginsOpt = {
|
||||
description,
|
||||
default ? [],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue