aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 {
# ...
# });