mbsync: put extra config at the beginning

If it is at the end it will just end up applying to the last defined
section.

Fixes #748
This commit is contained in:
Robert Helgesson 2019-07-05 22:16:15 +02:00
parent 2029e104d4
commit c3520bfa52
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -173,9 +173,9 @@ in
in in
concatStringsSep "\n" ( concatStringsSep "\n" (
[ "# Generated by Home Manager.\n" ] [ "# Generated by Home Manager.\n" ]
++ optional (cfg.extraConfig != "") cfg.extraConfig
++ accountsConfig ++ accountsConfig
++ groupsConfig ++ groupsConfig
++ optional (cfg.extraConfig != "") cfg.extraConfig
) + "\n"; ) + "\n";
home.activation.createMaildir = home.activation.createMaildir =