Don't overwrite types?

This commit is contained in:
niten 2023-11-17 09:54:02 -08:00
parent 33a75717a1
commit e7146bc012

View File

@ -71,7 +71,8 @@ in {
getSiteGatewayV4 getHostGatewayV4 getSiteGatewayV6 getHostGatewayV6
getSiteV4PrefixLength getSiteV6PrefixLength;
types.fudo = with lib.types; rec {
types = lib.type // {
fudo = with lib.types; rec {
networkHost = {
hostname = mkOption {
type = str;
@ -153,4 +154,5 @@ in {
};
in attrsOf (submodule networkHostOpt);
};
};
}