feat: c1 dockerd use proxy (WIP)

This commit is contained in:
Dict Xiong 2025-11-29 17:27:41 +08:00
parent 45c4338c6b
commit 0f9ee67f86

View File

@ -247,11 +247,17 @@ in
experimental = true;
ip6tables = true;
live-restore = false;
};
};
environment.systemPackages = with pkgs; [
dnew
];
systemd.services.docker.serviceConfig.Environment = [
"HTTP_PROXY=http://192.168.20.1:8118/"
"HTTPS_PROXY=http://192.168.20.1:8118/"
"NO_PROXY=localhost,127.0.0.0/8,nasp.fit"
];
})
# nginx
(lib.mkIf (nginxCfg.enable) {