1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00

feat(khal): add todoman, standardize datetime formats

This commit is contained in:
2021-04-12 18:18:28 +02:00
parent 901ab8d6b0
commit 1d6d8f8249

View File

@@ -6,7 +6,7 @@ let
password = lib.fileContents <secrets/nextcloud/password>;
in
{
environment.systemPackages = [ pkgs.khal pkgs.vdirsyncer pkgs.khard ];
environment.systemPackages = [ pkgs.khal pkgs.vdirsyncer pkgs.khard pkgs.todoman ];
systemd.user.services.vdirsyncer = {
enable = true;
@@ -48,6 +48,16 @@ in
skip_unparsable = no
'';
"todoman/todoman.conf".text = ''
[main]
path = ${davHome}/calendar/*
date_format = %F
time_format = %R
default_due = 0
default_list = Personal
startable = True
'';
"khal/config".text = ''
[calendars]
@@ -60,11 +70,11 @@ in
timedelta = 5d
[locale]
timeformat = %H:%M
dateformat = %Y-%m-%d
longdateformat = %Y-%m-%d
datetimeformat = %Y-%m-%d %H:%M
longdatetimeformat = %Y-%m-%d %H:%M
timeformat = %R
dateformat = %F
longdateformat = %F
datetimeformat = %F %R
longdatetimeformat = %F %R
local_timezone = ${config.time.timeZone}
default_timezone = ${config.time.timeZone}
weeknumbers = left