26 lines
497 B
Nix
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
|
|
];
|
|
}
|