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"; };