chore: drop legacy proxy configuration

This commit is contained in:
2025-05-27 10:20:42 +08:00
parent c45dadafa3
commit ffc74c1e6f
2 changed files with 7 additions and 12 deletions

View File

@@ -1,15 +1,5 @@
{ lib, ... }: { ... }:
{ {
my.home = {
programs.zsh = {
shellAliases = {
proxy_on = lib.mkForce "export http_proxy=http://127.0.0.1:7890 https_proxy=http://127.0.0.1:7890 all_proxy=socks://127.0.0.1:7891";
};
sessionVariables = {
no_proxy = "192.168.3.0/24";
};
};
};
my = { my = {
cli.all.enable = true; cli.all.enable = true;
coding.editor.neovim.enable = true; coding.editor.neovim.enable = true;

View File

@@ -172,7 +172,7 @@
enable = true; enable = true;
role = "client"; role = "client";
settings = { settings = {
serverAddr = "hk.imxyy.top"; serverAddr = "hk.vkvm.imxyy.top";
serverPort = 7000; serverPort = 7000;
auth.token = "{{ .Envs.FRP_AUTH_TOKEN }}"; auth.token = "{{ .Envs.FRP_AUTH_TOKEN }}";
proxies = [ proxies = [
@@ -626,10 +626,15 @@
"vault" "vault"
"coder" "coder"
"headscale" "headscale"
"grafana"
"matrix"
"note"
"oidc" "oidc"
"mc" "mc"
"music" "music"
"ai" "ai"
"sy"
"minio"
]; ];
in in
{ {