From ebd36298279ed7f6993a1f689bb032f06b6e93fc Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Sun, 10 Jul 2022 12:08:26 +0200 Subject: [PATCH] khal: Set default calendar Otherwise grocy, a read-only calendar, is the default. --- users/simon/modules/vdirsyncer.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/users/simon/modules/vdirsyncer.nix b/users/simon/modules/vdirsyncer.nix index 5378049..5250102 100644 --- a/users/simon/modules/vdirsyncer.nix +++ b/users/simon/modules/vdirsyncer.nix @@ -3,6 +3,7 @@ let contactsBasePath = "${config.xdg.dataHome}/contacts"; calendarBasePath = "${config.xdg.dataHome}/calendar"; + personalCalendarUuid = "bda1b0cb-994c-366c-e1fe-de646c26e337"; personalContactsUuid = "d6abd3ea-3abd-7550-9f24-f06293d36a82"; fetchCommand = command: @@ -104,6 +105,9 @@ in ]); "khal/config".text = /* toml */ '' + [default] + default_calendar = ${personalCalendarUuid} + [calendars] [[calendar_personal]]