Why did mkIf decide not to work?

This commit is contained in:
2024-05-22 11:16:02 -07:00
parent 0fd4340177
commit 921831ea54
+1 -1
View File
@@ -18,7 +18,7 @@ let
ports = [ "${toString cfg.port}:3003" ]; ports = [ "${toString cfg.port}:3003" ];
restart = "always"; restart = "always";
volumes = [ "${cfg.state-directory}:/cache" ]; volumes = [ "${cfg.state-directory}:/cache" ];
environment = mkIf cfg.debug { IMMICH_LOG_LEVEL = "debug"; }; environment = { IMMICH_LOG_LEVEL = "debug"; };
}; };
}); });