Don't overwrite types?
This commit is contained in:
parent
33a75717a1
commit
e7146bc012
4
lib.nix
4
lib.nix
@ -71,7 +71,8 @@ in {
|
|||||||
getSiteGatewayV4 getHostGatewayV4 getSiteGatewayV6 getHostGatewayV6
|
getSiteGatewayV4 getHostGatewayV4 getSiteGatewayV6 getHostGatewayV6
|
||||||
getSiteV4PrefixLength getSiteV6PrefixLength;
|
getSiteV4PrefixLength getSiteV6PrefixLength;
|
||||||
|
|
||||||
types.fudo = with lib.types; rec {
|
types = lib.type // {
|
||||||
|
fudo = with lib.types; rec {
|
||||||
networkHost = {
|
networkHost = {
|
||||||
hostname = mkOption {
|
hostname = mkOption {
|
||||||
type = str;
|
type = str;
|
||||||
@ -153,4 +154,5 @@ in {
|
|||||||
};
|
};
|
||||||
in attrsOf (submodule networkHostOpt);
|
in attrsOf (submodule networkHostOpt);
|
||||||
};
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user