old
 1{mylib, ...}: {
 2  imports = mylib.scanModules ./.;
 3
 4  # See /options/nixos/mihomo.nix
 5  services.mihomo.config = {
 6    mixed-port = 7154;
 7    allow-lan = true;
 8    mode = "rule";
 9    log-level = "warning";
10    ipv6 = false;
11    find-process-mode = "strict";
12    external-controller = "127.0.0.1:9090";
13    unified-delay = true;
14    tcp-concurrent = true;
15    global-client-fingerprint = "chrome";
16    profile = {
17      store-selected = true;
18      store-fake-ip = true;
19    };
20  };
21}