From 3dbf6287fc722da3143b6e2592ad7dba41ccf31b Mon Sep 17 00:00:00 2001 From: blake Date: Wed, 8 Oct 2025 13:11:45 -0500 Subject: [PATCH] 90 current 2025-10-08 13:05:11 25.05.20251001.5b5be50 6.12.49 * --- flake.nix | 2 +- modules/system/vpns.nix | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 974438e..4c035be 100644 --- a/flake.nix +++ b/flake.nix @@ -1,6 +1,6 @@ # flake for blakes nixos config # define new devices in outputs -# generation: 89 current 2025-10-08 13:03:07 25.05.20251001.5b5be50 6.12.49 * +# generation: 90 current 2025-10-08 13:05:11 25.05.20251001.5b5be50 6.12.49 * { description = "blakes nix config"; inputs = { diff --git a/modules/system/vpns.nix b/modules/system/vpns.nix index 1546dcd..85147ca 100644 --- a/modules/system/vpns.nix +++ b/modules/system/vpns.nix @@ -48,6 +48,13 @@ in persistentKeepalive = 25; } ]; + postUp = '' + ip route add default dev wg_piamex table qbittorrent + ip rule add uidrange 2003-2003 lookup qbittorrent + ''; + preDown = '' + ip rule del uidrange 2003-2003 lookup qbittorrent + ''; }; };