Commit 333b59b

HPCesia <me@hpcesia.com>
2025-07-13 12:36:46
refactor: move mihomo tun config
1 parent 7464c0b
Changed files (2)
modules
modules/nixos/base/mihomo/default.nix
@@ -10,6 +10,10 @@
     configFile = config.sops.templates."mihomo-config.yaml".path;
   };
 
+  networking.firewall.trustedInterfaces = [
+    "ElysianRealm"
+  ];
+
   sops.templates."mihomo-config.yaml".content =
     ''
       NodeParam:
modules/nixos/base/networking.nix
@@ -14,9 +14,6 @@
   };
 
   networking.firewall = {
-    trustedInterfaces = [
-      "ElysianRealm"
-    ];
     allowedTCPPortRanges = [
       {
         # KDE Connect