diff --git a/home/default.nix b/home/default.nix index 32dfbc7..12ff570 100644 --- a/home/default.nix +++ b/home/default.nix @@ -9,6 +9,8 @@ ./neovim.nix ./terminals.nix ./khard.nix + ./khal.nix + ./kitty.nix ]; home = { username = "don"; diff --git a/home/khal.nix b/home/khal.nix new file mode 100644 index 0000000..d320d9a --- /dev/null +++ b/home/khal.nix @@ -0,0 +1,58 @@ +{ pkgs, ... }: { + home.packages = with pkgs; [ khard ]; + 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 + [[charlotte-school]] + path = ~/.config/vdirsyncer/storage/calendar/pc0ie3kcc9oeaebma8qampvm64@group.calendar.google.com + color = light magenta + [[tripit-ro]] + path = ~/.config/vdirsyncer/storage/calendar/1kkbntebu29p6iismq18bafsmkho96s7@import.calendar.google.com + color = white + [[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 + [[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 = True + theme = dark + ''; +} diff --git a/home/kitty.nix b/home/kitty.nix new file mode 100644 index 0000000..5429519 --- /dev/null +++ b/home/kitty.nix @@ -0,0 +1,48 @@ +{ config, pkgs, ... }: +{ + programs.kitty = { + enable = true; + font = { + name = "JetBrains Mono"; + size = 9; + }; + settings = { + mouse_hide_wait = "3.0"; + url_style = "double"; + open_url_modifiers = "none"; + copy_on_select = "no"; + background_opacity = "0.75"; + scrollback_lines = 4000; + scrollback_pager_history_size = 2048; + foreground = "#f8f8f2"; + background = "#282a36"; + selection_foreground = "#ffffff"; + selection_background = "#44475a"; + url_color = "#8be9fd"; + color0 = "#21222c"; + color8 = "#6272a4"; + color1 = "#ff5555"; + color9 = "#ff6e6e"; + color2 = "#50fa7b"; + color10 = "#69ff94"; + color3 = "#f1fa8c"; + color11 = "#ffffa5"; + color4 = "#bd93f9"; + color12 = "#d6acff"; + color5 = "#ff79c6"; + color13 = "#ff92df"; + color6 = "#8be9fd"; + color14 = "#a4ffff"; + color7 = "#f8f8f2"; + color15 = "#ffffff"; + cursor = "#f8f8f2"; + cursor_text_color = "background"; + active_tab_foreground = "#282a36"; + active_tab_background = "#f8f8f2"; + inactive_tab_foreground = "#282a36"; + inactive_tab_background = "#6272a4"; + mark1_foreground = "#282a36"; + mark1_background = "#ff5555"; + }; + }; +}