1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-19 00:09:48 +01:00

vdirsyncer: synchronize metadata as well (#4167)

This commit is contained in:
Kylie McClain 2023-07-04 06:11:28 -04:00 committed by GitHub
parent 3be2abb2e6
commit d895a77448
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"
];
};
};