krebs.nginx: s/optionSet/submodule/
This commit is contained in:
parent
9db6d9db71
commit
8c859335a8
|
@ -13,8 +13,8 @@ let
|
||||||
enable = mkEnableOption "krebs.nginx";
|
enable = mkEnableOption "krebs.nginx";
|
||||||
|
|
||||||
servers = mkOption {
|
servers = mkOption {
|
||||||
type = with types; attrsOf optionSet;
|
type = types.attrsOf (types.submodule {
|
||||||
options = singleton {
|
options = {
|
||||||
server-names = mkOption {
|
server-names = mkOption {
|
||||||
type = with types; listOf str;
|
type = with types; listOf str;
|
||||||
# TODO use identity
|
# TODO use identity
|
||||||
|
@ -40,6 +40,7 @@ let
|
||||||
default = "";
|
default = "";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
});
|
||||||
default = {};
|
default = {};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue