NixOS-Configs/home/common/khal.nix
2025-07-02 21:07:43 -05:00

99 lines
3.2 KiB
Nix

{ pkgs, ... }: {
# home.packages = with pkgs; [ khal ];
xdg.configFile."khal/config".text = ''
[calendars]
[[work]]
path = ~/.config/vdirsyncer/storage/calendar/rcplvhbgfi42es2l1kgfar2hmo@group.calendar.google.com
color = white
[[main]]
path = ~/.config/vdirsyncer/storage/calendar/duckunix@gmail.com
color = yellow
[[family]]
path = ~/.config/vdirsyncer/storage/calendar/family13380466864639850162@group.calendar.google.com
color = light cyan
[[tripit-ro]]
path = ~/.config/vdirsyncer/storage/calendar/1kkbntebu29p6iismq18bafsmkho96s7@import.calendar.google.com
color = white
[[aurora]]
path = ~/.config/vdirsyncer/storage/calendar/aurora
color = light red
[[vicky]]
path = ~/.config/vdirsyncer/storage/calendar/afcmom@gmail.com
color = dark cyan
[[vicky-work]]
path = ~/.config/vdirsyncer/storage/calendar/victoriatempleharper@gmail.com
color = dark cyan
[[birthdays-ro]]
path = ~/.config/vdirsyncer/storage/calendar/c5i68sj5edpm4rrfdchm6rreehgm6t3j81jn4rrle0n7cbj3c5m6arj4c5p2sprfdtjmop9ecdnmq@virtual
color = white
[[BeckCC-ro]]
path = ~/.config/vdirsyncer/storage/calendar/0efdt6uro88i163m9g7ht6l2ftngakqb@import.calendar.google.com
color = light red
[[Canvas-ro]]
path = ~/.config/vdirsyncer/storage/calendar/26ggdee4akcrik9dd3d0912t4mudfu91@import.calendar.google.com
color = light red
[[Dinner]]
path = ~/.config/vdirsyncer/storage/calendar/ms2k7ip06mk1ftnekd4l9l1ink@group.calendar.google.com
color = light blue
[highlight_days]
color = light green
default_color = white
[locale]
timeformat = %I:%M %p
dateformat = %Y-%m-%d
longdateformat = %Y-%m-%d
datetimeformat = %Y-%m-%d %I:%M %p
longdatetimeformat = %Y-%m-%d %I:%M %p
local_timezone = America/Chicago
default_timezone = America/Chicago
[keybindings]
save = ctrl w
external_edit = ctrl E
[default]
timedelta = 3d
[view]
agenda_day_format = {name:=^40s}
agenda_event_format = {calendar-color}{cancelled}{start-time} - {end-time} | {title}{repeat-symbol}{description-separator}{reset}
dynamic_days = True
event_view_always_visible = False
theme = gruvbox
'';
xdg.configFile."vdirsyncer/config".text = ''
[general]
status_path = "~/.config/vdirsyncer/status/"
[pair contacts]
a = "contacts_local"
b = "contacts_remote"
collections = ["from a", "from b"]
conflict_resolution = "a wins"
[pair calendar]
a = "calendar_local"
b = "calendar_remote"
collections = ["from a", "from b"]
conflict_resolution = "a wins"
[storage contacts_local]
type = "filesystem"
path = "~/.config/vdirsyncer/storage/contacts/"
fileext = ".vcf"
[storage contacts_remote]
type = "carddav"
url = "https://cloud.trex-halfbeak.ts.net/remote.php/dav/addressbooks/users/don/default/"
username = "don"
password = "D4u5c3k!@"
[storage calendar_local]
type = "filesystem"
path = "~/.config/vdirsyncer/storage/calendar/"
fileext = ".ics"
[storage calendar_remote]
type = "caldav"
url = "https://cloud.trex-halfbeak.ts.net/remote.php/dav"
username = "don"
password = "D4u5c3k!@"
'';
}