summaryrefslogtreecommitdiffstats
path: root/lib/types.nix
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2021-11-14 09:36:27 +0100
committerlassulus <lassulus@lassul.us>2021-11-14 09:36:27 +0100
commit258abf53968b92cb5b61be2bcb385873cd9d4d9d (patch)
treede54ed9c2081a4b4889c4fcd32f373d12927885b /lib/types.nix
parent0c32c00f0be6d95e191e80dc078f7aaa98e38419 (diff)
types net: add defaults for wiregrill
Diffstat (limited to 'lib/types.nix')
-rw-r--r--lib/types.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/types.nix b/lib/types.nix
index a5fcd4e6a..d6d524377 100644
--- a/lib/types.nix
+++ b/lib/types.nix
@@ -137,6 +137,8 @@ rec {
type = cidr4;
} // optionalAttrs (config._module.args.name == "retiolum") {
default = "10.243.0.0/16";
+ } // optionalAttrs (config._module.args.name == "wiregrill") {
+ default = "10.244.0.0/16";
});
};
});
@@ -153,6 +155,8 @@ rec {
type = cidr6;
} // optionalAttrs (config._module.args.name == "retiolum") {
default = "42::/16";
+ } // optionalAttrs (config._module.args.name == "wiregrill") {
+ default = "42:1::/32";
});
};
});
@@ -240,6 +244,7 @@ rec {
};
};
}));
+ default = null;
};
};
});