From fb22490bd8afa7dc0b62857cfd4195357b9d5b48 Mon Sep 17 00:00:00 2001 From: Satria Date: Fri, 20 Mar 2026 07:39:12 +0700 Subject: [PATCH] fix build error and typos --- modules/system/homelab/proxy.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/system/homelab/proxy.nix b/modules/system/homelab/proxy.nix index de38a69..e3b533a 100644 --- a/modules/system/homelab/proxy.nix +++ b/modules/system/homelab/proxy.nix @@ -23,7 +23,7 @@ redirects = { "www" = "https://proxy.${homelab.domain}"; "dash" = "https://${homelab.domain}"; - "immich" = "https://gallery.proxy${homelab.domain}"; + "immich" = "https://gallery.proxy.${homelab.domain}"; }; exta-conf = '' # proxy_set_header X-Auth-User $remote_user; @@ -74,7 +74,7 @@ in { } // lib.mapAttrs' (subdomain: cfg: lib.nameValuePair "${subdomain}.${base}" { useACMEHost = base; forceSSL = true; - locations."/".return = "301 ${cfg.dest}"; + locations."/".return = "301 ${cfg}"; }) redirects // lib.mapAttrs' (subdomain: cfg: lib.nameValuePair (if subdomain == "@" then base else "${subdomain}.${base}") { useACMEHost = base; forceSSL = true;