From d177667312f8d8a00a216571d91fbe847fd2b535 Mon Sep 17 00:00:00 2001 From: Kylie McClain Date: Sun, 18 Jun 2023 20:24:27 -0400 Subject: [PATCH] vdirsyncer: synchronize metadata as well Without this, the service will never synchronize things like calendar/contact display names and calendar colors. --- modules/services/vdirsyncer.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/modules/services/vdirsyncer.nix b/modules/services/vdirsyncer.nix index 75ad0bbaeaaa..ab9230d0819f 100644 --- a/modules/services/vdirsyncer.nix +++ b/modules/services/vdirsyncer.nix @@ -67,9 +67,11 @@ in { Service = { Type = "oneshot"; # TODO `vdirsyncer discover` - ExecStart = "${cfg.package}/bin/vdirsyncer ${ - concatStringsSep " " vdirsyncerOptions - } sync"; + ExecStart = let optStr = concatStringsSep " " vdirsyncerOptions; + in [ + "${cfg.package}/bin/vdirsyncer ${optStr} metasync" + "${cfg.package}/bin/vdirsyncer ${optStr} sync" + ]; }; };