diff --git a/modules/wireguard/home.nix b/modules/wireguard/home.nix index 35bdea6..f81b0a3 100644 --- a/modules/wireguard/home.nix +++ b/modules/wireguard/home.nix @@ -72,7 +72,7 @@ in endpoint = "${hostname}.sbruder.de:51820"; })) (lib.filterAttrs - (n: v: n != config.networking.hostName && (enableServer || v.public || isPublic)) + (n: v: n != config.networking.hostName && (enableServer || v.public)) peers)); };