commit ad64da3adb64a5913ec3bb8c81fed064a3c5ccae
parent 01034418a56483ad626884974b593e9bdcc582f6
Author: Toni Brown <me@tb148.eu.org>
Date: Thu, 30 Oct 2025 22:38:34 +0800
replace verge with mihoyo
Diffstat:
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/configuration.nix b/configuration.nix
@@ -93,12 +93,14 @@
networking.hostName = "nixosion";
networking.networkmanager.enable = true;
networking.firewall.enable = false;
- programs.clash-verge = {
+
+ services.mihomo = {
enable = true;
- autoStart = true;
tunMode = true;
- serviceMode = true;
+ webui = pkgs.metacubexd;
+ configFile = "/home/tb148/mihomo.yaml";
};
+
nix.settings.substituters = ["https://mirrors.tuna.tsinghua.edu.cn/nix-channels/store"];
time.timeZone = "Asia/Shanghai";