Make more use of pipes

This commit is contained in:
SebastianStork 2025-08-10 00:21:05 +02:00
parent cd3765efea
commit 14b0e0ac1d
4 changed files with 9 additions and 7 deletions

View file

@ -158,7 +158,7 @@ in
mkEndpoint =
value:
let
isPrivate = lib.hasInfix config.custom.services.tailscale.domain value.url;
isPrivate = value.url |> lib.hasInfix config.custom.services.tailscale.domain;
deducedGroup = if isPrivate then "Private" else "Public";
in
{