From 333d8401b6af3e6212d8c3523a035d2b40343406 Mon Sep 17 00:00:00 2001 From: spl3g Date: Fri, 27 Dec 2024 00:57:06 +0300 Subject: fix: replace v2raya core override with a proper option --- nixos/general.nix | 5 ++++- overlays/default.nix | 1 - 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/nixos/general.nix b/nixos/general.nix index 681d26f..e4355ca 100644 --- a/nixos/general.nix +++ b/nixos/general.nix @@ -87,7 +87,10 @@ home-manager ]; - services.v2raya.enable = true; + services.v2raya = { + enable = true; + cliPackage = pkgs.xray; + }; fonts = { packages = with pkgs; [ diff --git a/overlays/default.nix b/overlays/default.nix index 73aaacd..52fd0ee 100644 --- a/overlays/default.nix +++ b/overlays/default.nix @@ -8,7 +8,6 @@ # You can change versions, add patches, set compilation flags, anything really. # https://nixos.wiki/wiki/Overlays modifications = final: prev: { - v2raya = prev.v2raya.override { v2ray = prev.xray; }; # example = prev.example.overrideAttrs (oldAttrs: rec { # ... # }); -- cgit v1.2.3