Need help in setting up VPN in nixOS #20

Closed
opened 2025-12-29 04:20:49 +01:00 by adam · 4 comments
Owner

Originally created by @wthe2004 on GitHub (Dec 18, 2023).

Hello,

I've read your tutorial on nixOS and it's great! I was wondering if you would be willing to share your config for VPN clients like clash and v2ray. I've been trying to set up a VPN on my nixOS machine for a while now but haven't found a good solution. I hope I can learn from your approach.
It would be really helpful if you could share any solution or suggestions. Thank you in advance for your assistance.

Originally created by @wthe2004 on GitHub (Dec 18, 2023). Hello, I've read your tutorial on nixOS and it's great! I was wondering if you would be willing to share your config for VPN clients like clash and v2ray. I've been trying to set up a VPN on my nixOS machine for a while now but haven't found a good solution. I hope I can learn from your approach. It would be really helpful if you could share any solution or suggestions. Thank you in advance for your assistance.
adam closed this issue 2025-12-29 04:20:49 +01:00
Author
Owner

@ryan4yin commented on GitHub (Dec 18, 2023):

I'm using a bypass router(openwrt) to speed up my NixOS downloading, for some stuff like v2ray/dae, considering ask for help at https://t.me/nixos_zhcn

@ryan4yin commented on GitHub (Dec 18, 2023): I'm using a bypass router(openwrt) to speed up my NixOS downloading, for some stuff like v2ray/dae, considering ask for help at https://t.me/nixos_zhcn
Author
Owner

@ryan4yin commented on GitHub (Dec 18, 2023):

FYI, how to setup http proxy for nix-daemon:
https://nixos-and-flakes.thiscute.world/nixos-with-flakes/add-custom-cache-servers#use-local-http-proxy-to-speed-up-nix-package-download

@ryan4yin commented on GitHub (Dec 18, 2023): FYI, how to setup http proxy for nix-daemon: https://nixos-and-flakes.thiscute.world/nixos-with-flakes/add-custom-cache-servers#use-local-http-proxy-to-speed-up-nix-package-download
Author
Owner

@wthe2004 commented on GitHub (Dec 18, 2023):

Thanks for your help! Let me have a try.

@wthe2004 commented on GitHub (Dec 18, 2023): Thanks for your help! Let me have a try.
Author
Owner

@wthe2004 commented on GitHub (Dec 18, 2023):

I solved my problem now. Thanks a lot!

@wthe2004 commented on GitHub (Dec 18, 2023): I solved my problem now. Thanks a lot!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/nix-config-ryan4yin#20