diff options
author | lassulus <lassulus@lassul.us> | 2021-11-14 09:36:27 +0100 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2021-11-14 09:36:27 +0100 |
commit | 258abf53968b92cb5b61be2bcb385873cd9d4d9d (patch) | |
tree | de54ed9c2081a4b4889c4fcd32f373d12927885b | |
parent | 0c32c00f0be6d95e191e80dc078f7aaa98e38419 (diff) |
types net: add defaults for wiregrill
-rw-r--r-- | lib/types.nix | 5 |
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; }; }; }); |