feat: c1 dockerd use proxy (WIP)
This commit is contained in:
parent
45c4338c6b
commit
0f9ee67f86
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user