diff --git a/modules/programs/mbsync-accounts.nix b/modules/programs/mbsync-accounts.nix
index 3f3f2d14d..119c71960 100644
--- a/modules/programs/mbsync-accounts.nix
+++ b/modules/programs/mbsync-accounts.nix
@@ -94,7 +94,7 @@ let
       extraConfig = mkOption {
         type = extraConfigType;
         default = { };
-        example = ''
+        example = literalExample ''
           {
             Create = "both";
             CopyArrivalDate = "yes";