From d895a774489cacd10c0140d54c4d158a53dcde90 Mon Sep 17 00:00:00 2001 From: Kylie McClain Date: Tue, 4 Jul 2023 06:11:28 -0400 Subject: [PATCH] vdirsyncer: synchronize metadata as well (#4167) --- 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 75ad0bbae..ab9230d08 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" + ]; }; };