correct nyx syntax for hasAttr and AND operator

nix-components
pegasust 2022-11-25 23:28:05 -07:00
parent 6b1174d0dc
commit 236ac01565
1 changed files with 1 additions and 1 deletions

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"
];