diff options
| author | tv <tv@krebsco.de> | 2022-03-18 13:51:49 +0100 | 
|---|---|---|
| committer | tv <tv@krebsco.de> | 2022-03-18 16:17:44 +0100 | 
| commit | f063c85ed03c9a9c6b2cd6f916da3e37a26facda (patch) | |
| tree | 8423470c0abbbac0b7e168e4014561a212810d4d | |
| parent | e008a493e0fc0d0418fdc703535e473d6f089d04 (diff) | |
tv: allow hosts without nets
| -rw-r--r-- | krebs/3modules/tv/default.nix | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/krebs/3modules/tv/default.nix b/krebs/3modules/tv/default.nix index 132a3c4be..615ac7ea2 100644 --- a/krebs/3modules/tv/default.nix +++ b/krebs/3modules/tv/default.nix @@ -7,7 +7,7 @@ with import <stockholm/lib>;        name = hostName;        owner = config.krebs.users.tv;      } -    (optionalAttrs (hostConfig.nets?retiolum) { +    (optionalAttrs (hasAttrByPath ["nets" "retiolum"] hostConfig) {        nets.retiolum = {          ip6.addr =            (krebs.genipv6 "retiolum" "tv" { inherit hostName; }).address;  | 
