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:
@@ -6,7 +6,7 @@ let
|
|||||||
password = lib.fileContents <secrets/nextcloud/password>;
|
password = lib.fileContents <secrets/nextcloud/password>;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
environment.systemPackages = [ pkgs.khal pkgs.vdirsyncer pkgs.khard ];
|
environment.systemPackages = [ pkgs.khal pkgs.vdirsyncer pkgs.khard pkgs.todoman ];
|
||||||
|
|
||||||
systemd.user.services.vdirsyncer = {
|
systemd.user.services.vdirsyncer = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@@ -48,6 +48,16 @@ in
|
|||||||
skip_unparsable = no
|
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 = ''
|
"khal/config".text = ''
|
||||||
[calendars]
|
[calendars]
|
||||||
|
|
||||||
@@ -60,11 +70,11 @@ in
|
|||||||
timedelta = 5d
|
timedelta = 5d
|
||||||
|
|
||||||
[locale]
|
[locale]
|
||||||
timeformat = %H:%M
|
timeformat = %R
|
||||||
dateformat = %Y-%m-%d
|
dateformat = %F
|
||||||
longdateformat = %Y-%m-%d
|
longdateformat = %F
|
||||||
datetimeformat = %Y-%m-%d %H:%M
|
datetimeformat = %F %R
|
||||||
longdatetimeformat = %Y-%m-%d %H:%M
|
longdatetimeformat = %F %R
|
||||||
local_timezone = ${config.time.timeZone}
|
local_timezone = ${config.time.timeZone}
|
||||||
default_timezone = ${config.time.timeZone}
|
default_timezone = ${config.time.timeZone}
|
||||||
weeknumbers = left
|
weeknumbers = left
|
||||||
|
|||||||
Reference in New Issue
Block a user