flake.nix: turn pointless getHostAddr result into fatal error

This commit is contained in:
Astro 2021-10-18 22:24:08 +02:00
parent e3361628f4
commit b7afbc20da
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@
then hostConf.ip4
else if hostConf ? ip6
then hostConf.ip6
else null;
else throw "Host ${name} has no ip4 or ip6 address";
in {
overlay = import ./overlay;