cjdns: fix assertion.
This commit is contained in:
parent
afb821fa15
commit
3374aa25bc
@ -253,7 +253,7 @@ in
|
|||||||
networking.extraHosts = "${cjdnsHosts}";
|
networking.extraHosts = "${cjdnsHosts}";
|
||||||
|
|
||||||
assertions = [
|
assertions = [
|
||||||
{ assertion = ( cfg.ETHInterface.bind != "" || cfg.UDPInterface.bind != "" || cfg.confFile == "" );
|
{ assertion = ( cfg.ETHInterface.bind != "" || cfg.UDPInterface.bind != "" || cfg.confFile != "" );
|
||||||
message = "Neither cjdns.ETHInterface.bind nor cjdns.UDPInterface.bind defined.";
|
message = "Neither cjdns.ETHInterface.bind nor cjdns.UDPInterface.bind defined.";
|
||||||
}
|
}
|
||||||
{ assertion = config.networking.enableIPv6;
|
{ assertion = config.networking.enableIPv6;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user