I am trying to setup sops-nix. It fails because sops-nix tries to download some things from google like this:
> golang.org/x/crypto/ssh: golang.org/x/crypto@v0.29.0: Get "https://proxy.golang.org/golang.org/x/crypto/@v/v0.29.0.zip": dial tcp 142.251.33.113:443: i/o timeout
Does this mean I am simply not able to use sops-nix from China? Is this the wrong forum for this? It seems that the problem could be related to any packages from golang at all.
It might be possible to override the sops-nix derivations to search and replace all instances of golang.org with a mirror. If this guide is right, then you could use Go · GitHub.
It seems like something that could be added to nixpkgs go builders to fix problems for all go packages, but I’m not sure if anyone has tried it before and if there would be any issues.
I use a VPN from the browser, not for all traffic. I set up my own VPS before using Outline, but Outline’s client ships only an AppImage, which never really works on NixOS. I was never able to make it work, to be honest, so I have just been using my browser-based one for less headache
But basically I was thinking there are surely people in enterprise situations without access to a VPN who will need to use solutions like this. Also VPNs are unstable in China because many of them are illegal (contrary to popular opinion, VPNs are actually not always illegal in China), so the government sometimes finds and shuts them down or figures out a way to knock a bunch of them offline for a day or whatever.