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