From e866f698c689ec39ac39389af43ca8763e67b897 Mon Sep 17 00:00:00 2001 From: Kirill Date: Tue, 26 May 2026 13:37:51 +0300 Subject: [PATCH] fix(vpn): Added vpn config --- modules/host/vpn.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/host/vpn.nix b/modules/host/vpn.nix index 2f7b1fc..d24a063 100644 --- a/modules/host/vpn.nix +++ b/modules/host/vpn.nix @@ -1,4 +1,4 @@ -{ pkgs, config, inputs, ...}: { +{ inputs, pkgs, config, ... }: { systemd.services.v2raya = { enable = true; description = "v2rayA gui client"; @@ -11,6 +11,7 @@ wantedBy = [ "multi-user.target" ]; environment = { V2RAYA_LOG_FILE = "/var/log/v2raya/v2raya.log"; + V2RAYA_V2RAY_BIN = pkgs.lib.getExe pkgs.xray; V2RAY_LOCATION_ASSET = "/etc/v2raya"; XRAY_LOCATION_ASSET = "/etc/v2raya"; };