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 | 66b1e698d7e1341f0c8d8bdb1e6be945352e7c88 (patch) | |
tree | 850275a78f437a05360fad95e4dc20e86e5f090a | |
parent | f8bfc90e89772778f1b3cf6296f68de6e7221b2e (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 a5fcd4e..d6d5243 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; }; }; }); |