programs.git.extraConfig = {
"color \"status\"" = { # Not too sure if there is a nicer way to avoid manual escaping.
added = "green";
changed = ...
}
}
Edit: after going through the source and trying it myself, apparently you can also do something like (upon building it creates the same file)