tv: allow hosts without nets
This commit is contained in:
parent
e008a493e0
commit
f063c85ed0
@ -7,7 +7,7 @@ with import <stockholm/lib>;
|
|||||||
name = hostName;
|
name = hostName;
|
||||||
owner = config.krebs.users.tv;
|
owner = config.krebs.users.tv;
|
||||||
}
|
}
|
||||||
(optionalAttrs (hostConfig.nets?retiolum) {
|
(optionalAttrs (hasAttrByPath ["nets" "retiolum"] hostConfig) {
|
||||||
nets.retiolum = {
|
nets.retiolum = {
|
||||||
ip6.addr =
|
ip6.addr =
|
||||||
(krebs.genipv6 "retiolum" "tv" { inherit hostName; }).address;
|
(krebs.genipv6 "retiolum" "tv" { inherit hostName; }).address;
|
||||||
|
Loading…
Reference in New Issue
Block a user