fix(vpn): Added vpn config
This commit is contained in:
1 parent
ea76c13e01
commit
e866f698c6
1 file changed
+2
-1
@@ -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";
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user