24 lines
429 B
Nix
24 lines
429 B
Nix
{lib, ...}: let
|
|
inherit (lib) mkOption types;
|
|
in {
|
|
options = {
|
|
main = mkOption {
|
|
type = types.nullOr types.str;
|
|
default = null;
|
|
};
|
|
|
|
driver = mkOption {
|
|
type = types.attrsOf (types.submoduleWith {
|
|
modules = [
|
|
../types/endpoint.nix
|
|
];
|
|
});
|
|
default = {};
|
|
};
|
|
|
|
databases = mkOption {
|
|
type = types.listOf types.str;
|
|
default = [];
|
|
};
|
|
};
|
|
}
|