···122122123123 # Redirect all traffic through proxy
124124 networking.proxy.allProxy = "http://127.0.0.1:2080";
125125- nix.settings.impure-env = [ "all_proxy=http://127.0.0.1:2080" ];
125125+ nix.settings.impure-env = [
126126+ "all_proxy=http://127.0.0.1:2080"
127127+ "GOPROXY=https://goproxy.cn"
128128+ ];
126129127130 # Make the auto upgrade mechanism upgrade to the correct specialization
128131 # so that proxies don't just randomly break the next day