commit 763b37add746770cf63e62df1ae60e97b30d0612
parent f8594d1fc4648bf94b4c769a1791e584a43dfc1a
Author: Toni Brown <me@tb148.net>
Date: Wed, 14 Jan 2026 22:23:16 +0800
Update mihomo configFile to use dynamic home path
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configuration.nix b/configuration.nix
@@ -91,7 +91,7 @@
enable = true;
tunMode = true;
webui = pkgs.metacubexd;
- configFile = "/home/tb148/mihomo.yaml";
+ configFile = "${config.users.users.tb148.home}/mihomo.yaml";
};
# programs.clash-verge = {
# enable = true;