From d951498707b3c4b94e7b74d81274d67f0f8d5f0a Mon Sep 17 00:00:00 2001 From: Don Harper Date: Wed, 2 Jul 2025 21:07:43 -0500 Subject: [PATCH] home/khal | add config file --- home/common/khal.nix | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) 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!@" + ''; }