Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
v2rayx # V2RayX
];
}
Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
v2rayx # V2RayX
];
}
Package Definition
{
"pname": "v2rayx",
"version": "1.5.1",
"src": {
"url": "https://github.com/Cenmrev/V2RayX/releases/download/v1.5.1/V2RayX.app.zip",
"sha256": "007ec1de5c8f768eb7be42df1980a4998fbf953d29d6c80019bd826272855239"
},
"installPhase": [
"mkdir -p \"$out/Applications/V2RayX.app\" && cp -r \"V2RayX.app\" \"$out/Applications\""
],
"meta": {
"description": "GUI for v2ray-core",
"homepage": "https://github.com/Cenmrev/V2RayX"
}
}