aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorspl3g <spleefer6@yandex.ru>2024-12-27 00:57:06 +0300
committerspl3g <spleefer6@yandex.ru>2025-05-01 14:58:57 +0300
commit333d8401b6af3e6212d8c3523a035d2b40343406 (patch)
tree98d24ccd1076aa123e1728e59c176439df85f4d0
parent3540605402c34c601341b6b68e76171d112637eb (diff)
fix: replace v2raya core override with a proper option
-rw-r--r--nixos/general.nix5
-rw-r--r--overlays/default.nix1
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 {
# ...
# });