1
Fork 0
satellite/home/features/cli/khal.nix

26 lines
497 B
Nix
Raw Normal View History

# TODO: sync theme with global theme
{ 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]]
path = ~/${calendarsHome}/*
2023-07-18 01:02:44 +02:00
type = discover
color = dark magenta
2023-07-18 01:02:44 +02:00
[locale]
timeformat = %H:%M
dateformat = %d/%m/%Y
[view]
theme = light
2023-07-18 01:02:44 +02:00
'';
2023-07-18 01:02:44 +02:00
satellite.persistence.at.data.apps.khal.directories = [
calendarsHome
2023-07-18 01:02:44 +02:00
];
}