default.nix (299B)
1 { 2 config, 3 pkgs, 4 ... 5 }: { 6 services.mihomo = { 7 enable = true; 8 tunMode = true; 9 webui = pkgs.metacubexd; 10 configFile = "${config.users.users.tb148.home}/mihomo.yaml"; 11 }; 12 systemd.services.mihomo.environment.SKIP_SYSTEM_IPV6_CHECK = "true"; 13 networking.firewall.checkReversePath = "loose"; 14 }