-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v2raya: init at 2.0.0 #204807
v2raya: init at 2.0.0 #204807
Conversation
90266fe
to
77994c9
Compare
bc88fac
to
819d547
Compare
v2.0.0 is out: https://github.com/v2rayA/v2rayA/releases/tag/v2.0.0 |
d600d28
to
50e9558
Compare
Update nixos/modules/services/networking/v2raya.nix Co-authored-by: zendo <linzway@qq.com> Update nixos/modules/services/networking/v2raya.nix Co-authored-by: zendo <linzway@qq.com> Update pkgs/tools/networking/v2raya/default.nix Co-authored-by: zendo <linzway@qq.com> Update pkgs/tools/networking/v2raya/default.nix Co-authored-by: zendo <linzway@qq.com> Update nixos/modules/services/networking/v2raya.nix Co-authored-by: zendo <linzway@qq.com> Update pkgs/tools/networking/v2raya/default.nix Co-authored-by: zendo <linzway@qq.com> Update nixos/modules/services/networking/v2raya.nix Co-authored-by: zendo <linzway@qq.com>
dontFixup = true; | ||
}; | ||
in | ||
buildGoModule { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some new lines wouldn't hurt to increase readability
--prefix XDG_DATA_DIRS ":" ${symlinkJoin { | ||
name = "assets"; | ||
paths = [ v2ray-geoip v2ray-domain-list-community ]; | ||
}}/share |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Big inlines like this are not that readable, it should be done in a let in
}; | ||
}; | ||
|
||
config = mkIf config.services.v2raya.enable { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I doubt that this service has no options
unitConfig = { | ||
Description = "v2rayA service"; | ||
Documentation = "https://github.com/v2rayA/v2rayA/wiki"; | ||
After = [ "network.target" "nss-lookup.target" "iptables.service" "ip6tables.service" ]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will break if ipv6 is disabled.
Description of changes
Closes #158554
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)nixos/doc/manual/md-to-db.sh
to update generated release notes