From c3520bfa52b30f984e73e9616abe4d11ab56de36 Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Fri, 5 Jul 2019 22:16:15 +0200 Subject: [PATCH] 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 --- modules/programs/mbsync.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/programs/mbsync.nix b/modules/programs/mbsync.nix index 209db0dc..7e9cdb7f 100644 --- a/modules/programs/mbsync.nix +++ b/modules/programs/mbsync.nix @@ -173,9 +173,9 @@ in in concatStringsSep "\n" ( [ "# Generated by Home Manager.\n" ] + ++ optional (cfg.extraConfig != "") cfg.extraConfig ++ accountsConfig ++ groupsConfig - ++ optional (cfg.extraConfig != "") cfg.extraConfig ) + "\n"; home.activation.createMaildir =