summaryrefslogtreecommitdiffstats
path: root/lib/types.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2021-11-21 13:44:39 +0100
committertv <tv@krebsco.de>2021-11-21 13:44:39 +0100
commite250f858382a1c830a55a7243a80e1fbd2d1b15d (patch)
tree0dd30c66ddc473112f1f1fcbf0c80ad896a38204 /lib/types.nix
parenta752af84bedc24fdc32004a8760532b3206c0421 (diff)
parentb0f39ae34d1f248a4c1b92946a42418779f69490 (diff)
Merge remote-tracking branch 'prism/master'
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;
};
};
});