correct nyx syntax for hasAttr and AND operator
parent
6b1174d0dc
commit
236ac01565
|
@ -92,7 +92,7 @@ with lib;
|
||||||
# inherit _networking;
|
# inherit _networking;
|
||||||
networking = _networking // {
|
networking = _networking // {
|
||||||
firewall =
|
firewall =
|
||||||
if _networking.firewall.enable ? false then {
|
if _networking ? firewall.enable && _networking.firewall.enable then {
|
||||||
trustedInterfaces = _networking.firewall.trustedInterfaces or [ ] ++ [
|
trustedInterfaces = _networking.firewall.trustedInterfaces or [ ] ++ [
|
||||||
"tailscale0"
|
"tailscale0"
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in New Issue