2023-07-18 01:50:05 +02:00
|
|
|
# TODO: sync theme with global theme
|
2023-12-13 19:30:04 +01:00
|
|
|
{ pkgs, ... }:
|
|
|
|
let calendarsHome = "productivity/calendars";
|
|
|
|
in
|
|
|
|
{
|
2023-07-18 01:02:44 +02:00
|
|
|
home.packages = with pkgs; [ khal ];
|
|
|
|
xdg.configFile."khal/config".text = ''
|
|
|
|
[calendars]
|
|
|
|
[[calendars]]
|
2023-12-13 19:30:04 +01:00
|
|
|
path = ~/${calendarsHome}/*
|
2023-07-18 01:02:44 +02:00
|
|
|
type = discover
|
2023-07-18 01:50:05 +02:00
|
|
|
color = dark magenta
|
2023-07-18 01:02:44 +02:00
|
|
|
|
|
|
|
[locale]
|
|
|
|
timeformat = %H:%M
|
|
|
|
dateformat = %d/%m/%Y
|
2023-07-18 01:50:05 +02:00
|
|
|
|
|
|
|
[view]
|
|
|
|
theme = light
|
2023-07-18 01:02:44 +02:00
|
|
|
'';
|
2023-12-13 19:30:04 +01:00
|
|
|
|
2023-07-18 01:02:44 +02:00
|
|
|
satellite.persistence.at.data.apps.khal.directories = [
|
2023-12-13 19:30:04 +01:00
|
|
|
calendarsHome
|
2023-07-18 01:02:44 +02:00
|
|
|
];
|
|
|
|
}
|