Fix opt
This commit is contained in:
@@ -102,12 +102,12 @@ let
|
|||||||
type = types.str;
|
type = types.str;
|
||||||
default = "/media/data";
|
default = "/media/data";
|
||||||
};
|
};
|
||||||
containers = lib.mkOption {
|
containers = mkOption {
|
||||||
type = lib.types.attrsOf (lib.types.submodule {
|
type = types.attrsOf (types.submodule {
|
||||||
options = {
|
options = {
|
||||||
enable = {type = types.bool;default = false;};
|
enable = mkOption {type = types.bool;default = false;};
|
||||||
port = lib.mkOption { type = lib.types.port; };
|
port = mkOption { type = types.port; };
|
||||||
special_param = lib.mkOption { type = lib.types.str; default = ""; };
|
extraParam = mkOption { type = types.str; default = ""; };
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
default = {};
|
default = {};
|
||||||
|
|||||||
Reference in New Issue
Block a user