Commit 28e2fbd
Changed files (1)
modules
services
forgejo-runner
modules/services/forgejo-runner/default.nix
@@ -41,7 +41,10 @@
host = "172.17.0.1";
};
container = {
- network = "";
+ # Use host for mihomo to avoid network error
+ # See https://github.com/MetaCubeX/mihomo/issues/1260
+ # See also https://github.com/SagerNet/sing-box/issues/2700
+ network = lib.optionalString (config.services.mihomo.enable) "host";
enable_ipv6 = true;
options = "--cap-add sys_admin --cap-add mknod --device /dev/fuse";
};