correct nyx syntax for hasAttr and AND operator

This commit is contained in:
pegasust 2022-11-25 23:28:05 -07:00
parent 6b1174d0dc
commit 236ac01565

View File

@ -92,7 +92,7 @@ with lib;
# inherit _networking;
networking = _networking // {
firewall =
if _networking.firewall.enable ? false then {
if _networking ? firewall.enable && _networking.firewall.enable then {
trustedInterfaces = _networking.firewall.trustedInterfaces or [ ] ++ [
"tailscale0"
];