From f6ededefca726c14e2c45208e793bbd9d86ddbcc Mon Sep 17 00:00:00 2001 From: William Date: Wed, 22 Apr 2026 19:28:16 -0300 Subject: [PATCH] fix pocket-id nginxvhost --- aspects/hosts/_trantor/pocket-id.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/aspects/hosts/_trantor/pocket-id.nix b/aspects/hosts/_trantor/pocket-id.nix index fc01f5a..297424f 100644 --- a/aspects/hosts/_trantor/pocket-id.nix +++ b/aspects/hosts/_trantor/pocket-id.nix @@ -5,6 +5,10 @@ ... }: +let + mkNginxVHosts = inputs.self.lib.mkNginxVHosts; +in + { services.pocket-id = { enable = true; @@ -16,6 +20,10 @@ }; }; + services.nginx.virtualHosts = mkNginxVHosts { + domains."auth.baduhai.dev".locations."/".proxyPass = "http://localhost:1411/"; + }; + age.secrets.pocket-id-key = { file = "${inputs.self}/secrets/pocket-id.key.age"; };