1
Fork 0
satellite/home/features/cli/khal.nix
2023-12-13 19:30:04 +01:00

26 lines
497 B
Nix

# TODO: sync theme with global theme
{ pkgs, ... }:
let calendarsHome = "productivity/calendars";
in
{
home.packages = with pkgs; [ khal ];
xdg.configFile."khal/config".text = ''
[calendars]
[[calendars]]
path = ~/${calendarsHome}/*
type = discover
color = dark magenta
[locale]
timeformat = %H:%M
dateformat = %d/%m/%Y
[view]
theme = light
'';
satellite.persistence.at.data.apps.khal.directories = [
calendarsHome
];
}