Description
Hello! Just wanted to express some concern over the mysql configuration (at least in a flake) where the settings are not idempotent which can cause issues if you want to use the flake as the source of configuration truth. This is also especially true given the context that this is normally how configuration works in Nix itself.
At the same time I can see two sides of this where ppl using it as purely for dev purposes would find it more useful to have the settings be idempotent vs others who might (wrongly?) use this in production and would not want to accidentally blow away database settings. Perhaps a flag can be set to switch behavior between the two.
As for reproducing this situation, you can see the problem rearing itself when attempting to modify user permissions from the flake when I've already ran the server before and the user already has some permissions set.