Ah fuckit, don't put it in types at all
This commit is contained in:
parent
dca7d8c9ef
commit
a0493a2eef
4
lib.nix
4
lib.nix
@ -71,8 +71,7 @@ in {
|
|||||||
getSiteGatewayV4 getHostGatewayV4 getSiteGatewayV6 getHostGatewayV6
|
getSiteGatewayV4 getHostGatewayV4 getSiteGatewayV6 getHostGatewayV6
|
||||||
getSiteV4PrefixLength getSiteV6PrefixLength;
|
getSiteV4PrefixLength getSiteV6PrefixLength;
|
||||||
|
|
||||||
types = lib.types // {
|
fudo-types = with lib.types; rec {
|
||||||
fudo = with lib.types; rec {
|
|
||||||
networkHost = {
|
networkHost = {
|
||||||
hostname = mkOption {
|
hostname = mkOption {
|
||||||
type = str;
|
type = str;
|
||||||
@ -154,5 +153,4 @@ in {
|
|||||||
};
|
};
|
||||||
in attrsOf (submodule networkHostOpt);
|
in attrsOf (submodule networkHostOpt);
|
||||||
};
|
};
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user