From 97ff0698af9ea94f6e02fbe376c40df9fe794d41 Mon Sep 17 00:00:00 2001 From: LavaDesu Date: Tue, 20 May 2025 02:44:15 +1000 Subject: [PATCH] welp --- modules/system/wireguard.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/system/wireguard.nix b/modules/system/wireguard.nix index 9e5ef15..774a652 100644 --- a/modules/system/wireguard.nix +++ b/modules/system/wireguard.nix @@ -93,7 +93,7 @@ let let client = clients."${config.networking.hostName}"; routes = routeBypass."${config.networking.hostName}"; - mapRoutes = type: lib.concatMapStringsSep "\n" (r: "${pkgs.iproute2}/bin/ip route ${type} ${r} dev ${routes.interface}") routes.routes; + mapRoutes = type: lib.concatMapStringsSep "\n" (r: "${pkgs.iproute2}/bin/ip route ${type} ${r} via 192.168.1.1 dev ${routes.interface}") routes.routes; in { ips = client.allowedIPs; listenPort = port;