`Writing of the configuration` means something like a `configuration poem`, `writing` is a noun.

On the other hand `writing the configuration` uses `writing` as `doing something`.