From 796f656b5595bc90a59254bb422b5b75ce0c3db7 Mon Sep 17 00:00:00 2001 From: Guanran Wang Date: Tue, 23 Apr 2024 05:08:04 +0800 Subject: [PATCH] fixup! lightsail-tokyo: add hysteria --- hosts/lightsail-tokyo/default.nix | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/hosts/lightsail-tokyo/default.nix b/hosts/lightsail-tokyo/default.nix index 84d7695..9ed212e 100644 --- a/hosts/lightsail-tokyo/default.nix +++ b/hosts/lightsail-tokyo/default.nix @@ -27,15 +27,15 @@ }; sops.templates."hysteria.yaml".content = '' - tls: - cert: /run/credentials/hysteria.service/cert - key: /run/credentials/hysteria.service/key + tls: + cert: /run/credentials/hysteria.service/cert + key: /run/credentials/hysteria.service/key - masquerade: - type: proxy - proxy: - url: https://news.ycombinator.com/ - rewriteHost: true + masquerade: + type: proxy + proxy: + url: https://news.ycombinator.com/ + rewriteHost: true ${config.sops.placeholder."hysteria/auth"} '';