From 865f976ddd33b90c47e72299030f492cc746e2e5 Mon Sep 17 00:00:00 2001 From: ChaosAttractor Date: Wed, 3 Apr 2024 06:32:34 +0800 Subject: [PATCH] nixos/v2raya: fix nftables support --- nixos/modules/services/networking/v2raya.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/networking/v2raya.nix b/nixos/modules/services/networking/v2raya.nix index 0bea73798daf..58ce89ae00a4 100644 --- a/nixos/modules/services/networking/v2raya.nix +++ b/nixos/modules/services/networking/v2raya.nix @@ -42,7 +42,7 @@ with lib; }; wantedBy = [ "multi-user.target" ]; - path = with pkgs; [ iptables bash iproute2 ]; # required by v2rayA TProxy functionality + path = with pkgs; [ iptables bash iproute2 ] ++ lib.optionals nftablesEnabled [ nftables ]; # required by v2rayA TProxy functionality }; };