diff --git a/home/common/khal.nix b/home/common/khal.nix index 1ffa67c..e69994c 100644 --- a/home/common/khal.nix +++ b/home/common/khal.nix @@ -58,4 +58,42 @@ event_view_always_visible = False theme = gruvbox ''; + xdg.configFile."vdirsyncer/config".text = '' + [general] + status_path = "~/.config/vdirsyncer/status/" + + [pair contacts] + a = "contacts_local" + b = "contacts_remote" + collections = ["from a", "from b"] + conflict_resolution = "a wins" + + [pair calendar] + a = "calendar_local" + b = "calendar_remote" + collections = ["from a", "from b"] + conflict_resolution = "a wins" + + [storage contacts_local] + type = "filesystem" + path = "~/.config/vdirsyncer/storage/contacts/" + fileext = ".vcf" + + [storage contacts_remote] + type = "carddav" + url = "https://cloud.trex-halfbeak.ts.net/remote.php/dav/addressbooks/users/don/default/" + username = "don" + password = "D4u5c3k!@" + + [storage calendar_local] + type = "filesystem" + path = "~/.config/vdirsyncer/storage/calendar/" + fileext = ".ics" + + [storage calendar_remote] + type = "caldav" + url = "https://cloud.trex-halfbeak.ts.net/remote.php/dav" + username = "don" + password = "D4u5c3k!@" + ''; }