Why did mkIf decide not to work?

This commit is contained in:
niten 2024-05-22 11:16:02 -07:00
parent 0fd4340177
commit 921831ea54
1 changed files with 1 additions and 1 deletions

View File

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