Enable khal for calendar

This commit is contained in:
Evie Litherland-Smith 2023-09-26 10:02:40 +01:00
parent 9e79181f9a
commit c9da3247f9

View file

@ -1,12 +1,16 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
{ {
programs.vdirsyncer.enable = true; programs = {
vdirsyncer.enable = true;
khal.enable = true;
};
accounts.calendar = { accounts.calendar = {
basePath = ".calendar"; basePath = ".calendar";
accounts = { accounts = {
nextcloud = { nextcloud = {
primary = true; primary = true;
primaryCollection = "Personal";
local = { local = {
type = "filesystem"; type = "filesystem";
fileExt = ".ics"; fileExt = ".ics";
@ -23,6 +27,10 @@
collections = [ "from a" ]; collections = [ "from a" ];
metadata = [ "color" "displayname" ]; metadata = [ "color" "displayname" ];
}; };
khal = {
enable = true;
type = "discover";
};
}; };
}; };
}; };