fixup! darwin: unbreak
This commit is contained in:
parent
d6f3bbf480
commit
42a0319df8
1 changed files with 1 additions and 6 deletions
|
@ -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)
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue