diff --git a/darwin/modules/services/mihomo.nix b/darwin/modules/services/mihomo.nix index 2610e49..3e5cd7a 100644 --- a/darwin/modules/services/mihomo.nix +++ b/darwin/modules/services/mihomo.nix @@ -9,10 +9,6 @@ in { options.services.mihomo = { enable = lib.mkEnableOption "Whether to enable Mihomo, A rule-based proxy in Go."; package = lib.mkPackageOption pkgs "mihomo" {}; - configFile = lib.mkOption { - type = lib.types.nullOr lib.types.path; - description = "Configuration file to use."; - }; webui = lib.mkOption { default = null; type = lib.types.nullOr lib.types.path; @@ -25,7 +21,7 @@ in { - https://metacubexd.pages.dev - yacd: - https://yacd.haishan.me - - clash-dashboard: + - clash-dashboard (buggy): - https://clash.razord.top ''; }; @@ -43,7 +39,6 @@ in { command = builtins.concatStringsSep " " [ (lib.getExe cfg.package) "-d /etc/mihomo" - cfg.configFile (lib.optionalString (cfg.webui != null) "-ext-ui ${cfg.webui}") (lib.optionalString (cfg.extraOpts != null) cfg.extraOpts) ];