From ebc0a38d2b37da628b9b9c2f14141573aa5a1a2c Mon Sep 17 00:00:00 2001 From: Origami404 Date: Sun, 17 May 2026 13:12:17 +0800 Subject: [PATCH] hosts/oparic: CN network --- hosts/oparic-local-dev/configuration.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hosts/oparic-local-dev/configuration.nix b/hosts/oparic-local-dev/configuration.nix index 349bddc..c800519 100644 --- a/hosts/oparic-local-dev/configuration.nix +++ b/hosts/oparic-local-dev/configuration.nix @@ -85,6 +85,12 @@ services.openssh.enable = true; + # Mihomo 代理 + services.mihomo = { + enable = true; + configFile = "/etc/mihomo/config.yaml"; + }; + # 密钥管理: 这是对外机器 sops.defaultSopsFile = ../../secrets/hosts/oparic-local-dev.yaml; sops.age.keyFile = "/var/lib/sops/age/keys.txt";