# TODO: sync theme with global theme
{ pkgs, ... }: {
  home.packages = with pkgs; [ khal ];
  xdg.configFile."khal/config".text = ''
    [calendars]
      [[calendars]]
        path = ~/Calendars/*
        type = discover
        color = dark magenta

    [locale]
      timeformat = %H:%M
      dateformat = %d/%m/%Y

    [view]
      theme = light
  '';
  satellite.persistence.at.data.apps.khal.directories = [
    "Calendars"
  ];
}