diff --git a/system/nixos/nginx.nix b/system/nixos/nginx.nix index cdbbdec..4cbbdef 100644 --- a/system/nixos/nginx.nix +++ b/system/nixos/nginx.nix @@ -28,7 +28,7 @@ networking.firewall.interfaces = let - interfaces = lib.mapAttrsToList (_: value: value.matchConfig.Name ? null) config.systemd.network.networks ++ [ "tailscale0" ]; + interfaces = lib.mapAttrsToList (_: value: lib.attrsets.attrByPath [ "matchConfig" "Name" ] null) config.systemd.network.networks ++ [ "tailscale0" ]; in builtins.listToAttrs (builtins.map