From 921831ea54b09e9365dbb0a8cdc38bb6048ab4c8 Mon Sep 17 00:00:00 2001 From: niten Date: Wed, 22 May 2024 11:16:02 -0700 Subject: [PATCH] Why did mkIf decide not to work? --- immich-ml-container.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/immich-ml-container.nix b/immich-ml-container.nix index f4fdae4..42c6df4 100644 --- a/immich-ml-container.nix +++ b/immich-ml-container.nix @@ -18,7 +18,7 @@ let ports = [ "${toString cfg.port}:3003" ]; restart = "always"; volumes = [ "${cfg.state-directory}:/cache" ]; - environment = mkIf cfg.debug { IMMICH_LOG_LEVEL = "debug"; }; + environment = { IMMICH_LOG_LEVEL = "debug"; }; }; });