diff --git a/.editorconfig b/.editorconfig
index 43970edebe5c..f34892678888 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -105,6 +105,9 @@ insert_final_newline = unset
 indent_size = unset
 trim_trailing_whitespace = unset
 
+[pkgs/tools/misc/timidity/timidity.cfg]
+trim_trailing_whitespace = unset
+
 [pkgs/top-level/emscripten-packages.nix]
 trim_trailing_whitespace = unset