From 3e921ef2ab31acd8b09b374f8b2943754b09f559 Mon Sep 17 00:00:00 2001 From: soraefir Date: Fri, 15 May 2026 01:10:34 +0200 Subject: [PATCH] fix setup --- modules/server/containers/apps/immich.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/server/containers/apps/immich.nix b/modules/server/containers/apps/immich.nix index 04e48cf..f77b86f 100644 --- a/modules/server/containers/apps/immich.nix +++ b/modules/server/containers/apps/immich.nix @@ -59,7 +59,7 @@ in { $PSQL -d "immich_db" -tAc "CREATE EXTENSION IF NOT EXISTS earthdistance CASCADE;" IMMICH_URL=http://immich-server:2283 - until [[ "$(${pkgs.curl}/bin/curl -s -o /dev/null -w "%{http_code}" "$IMMICH_URL")" =~ ^(200|301|302)$ ]]; do + until [[ "$(${pkgs.curl}/bin/curl -s -o /dev/null -w "%{http_code}" "$IMMICH_URL")" =~ (200|301|302) ]]; do sleep 5 done ${pkgs.curl}/bin/curl -X POST "$IMMICH_URL/api/admin/users" \