diff --git a/homeConfigurations/vinzenz/default.nix b/homeConfigurations/vinzenz/default.nix index 785afe7..8082e10 100644 --- a/homeConfigurations/vinzenz/default.nix +++ b/homeConfigurations/vinzenz/default.nix @@ -3,6 +3,7 @@ imports = [ # keep-sorted start ./editorconfig.nix + ./element.nix ./fonts.nix ./fuzzel.nix ./git.nix @@ -54,9 +55,7 @@ nextcloud-client thunderbird fractal - telegram-desktop - element-desktop wireguard-tools wirelesstools @@ -80,6 +79,8 @@ foliate dconf2nix + + gnome-terminal ]; home.file = { diff --git a/homeConfigurations/vinzenz/element.nix b/homeConfigurations/vinzenz/element.nix new file mode 100644 index 0000000..e2a7474 --- /dev/null +++ b/homeConfigurations/vinzenz/element.nix @@ -0,0 +1,187 @@ +{ + programs.element-desktop = { + enable = true; + settings = { + # https://github.com/element-hq/element-web/blob/develop/docs/config.md + # https://github.com/catppuccin/element + "show_labs_settings" = true; + "setting_defaults" = { + default_theme = "custom-Catppuccin Latte (Mauve)"; + "custom_themes" = [ + { + "name" = "Catppuccin Latte (Mauve)"; + "is_dark" = false; + "colors" = { + "accent-color" = "#8839ef"; + "primary-color" = "#8839ef"; + "warning-color" = "#d20f39"; + "alert" = "#df8e1d"; + "sidebar-color" = "#dce0e8"; + "roomlist-background-color" = "#e6e9ef"; + "roomlist-text-color" = "#4c4f69"; + "roomlist-text-secondary-color" = "#7c7f93"; + "roomlist-highlights-color" = "#bcc0cc"; + "roomlist-separator-color" = "#8c8fa1"; + "timeline-background-color" = "#eff1f5"; + "timeline-text-color" = "#4c4f69"; + "secondary-content" = "#4c4f69"; + "tertiary-content" = "#4c4f69"; + "timeline-text-secondary-color" = "#6c6f85"; + "timeline-highlights-color" = "#e6e9ef"; + "reaction-row-button-selected-bg-color" = "#bcc0cc"; + "menu-selected-color" = "#bcc0cc"; + "focus-bg-color" = "#acb0be"; + "room-highlight-color" = "#04a5e5"; + "togglesw-off-color" = "#7c7f93"; + "other-user-pill-bg-color" = "#04a5e5"; + "username-colors" = [ + "#8839ef" + "#e64553" + "#fe640b" + "#40a02b" + "#179299" + "#04a5e5" + "#209fb5" + "#7287fd" + ]; + "avatar-background-colors" = [ + "#1e66f5" + "#8839ef" + "#40a02b" + ]; + }; + } + { + "name" = "Catppuccin Frappé (Mauve)"; + "is_dark" = true; + "colors" = { + "accent-color" = "#ca9ee6"; + "primary-color" = "#ca9ee6"; + "warning-color" = "#e78284"; + "alert" = "#e5c890"; + "sidebar-color" = "#232634"; + "roomlist-background-color" = "#292c3c"; + "roomlist-text-color" = "#c6d0f5"; + "roomlist-text-secondary-color" = "#949cbb"; + "roomlist-highlights-color" = "#51576d"; + "roomlist-separator-color" = "#838ba7"; + "timeline-background-color" = "#303446"; + "timeline-text-color" = "#c6d0f5"; + "secondary-content" = "#c6d0f5"; + "tertiary-content" = "#c6d0f5"; + "timeline-text-secondary-color" = "#a5adce"; + "timeline-highlights-color" = "#292c3c"; + "reaction-row-button-selected-bg-color" = "#51576d"; + "menu-selected-color" = "#51576d"; + "focus-bg-color" = "#626880"; + "room-highlight-color" = "#99d1db"; + "togglesw-off-color" = "#949cbb"; + "other-user-pill-bg-color" = "#99d1db"; + "username-colors" = [ + "#ca9ee6" + "#ea999c" + "#ef9f76" + "#a6d189" + "#81c8be" + "#99d1db" + "#85c1dc" + "#babbf1" + ]; + "avatar-background-colors" = [ + "#8caaee" + "#ca9ee6" + "#a6d189" + ]; + }; + } + { + "name" = "Catppuccin Macchiato (Mauve)"; + "is_dark" = true; + "colors" = { + "accent-color" = "#c6a0f6"; + "primary-color" = "#c6a0f6"; + "warning-color" = "#ed8796"; + "alert" = "#eed49f"; + "sidebar-color" = "#181926"; + "roomlist-background-color" = "#1e2030"; + "roomlist-text-color" = "#cad3f5"; + "roomlist-text-secondary-color" = "#939ab7"; + "roomlist-highlights-color" = "#494d64"; + "roomlist-separator-color" = "#8087a2"; + "timeline-background-color" = "#24273a"; + "timeline-text-color" = "#cad3f5"; + "secondary-content" = "#cad3f5"; + "tertiary-content" = "#cad3f5"; + "timeline-text-secondary-color" = "#a5adcb"; + "timeline-highlights-color" = "#1e2030"; + "reaction-row-button-selected-bg-color" = "#494d64"; + "menu-selected-color" = "#494d64"; + "focus-bg-color" = "#5b6078"; + "room-highlight-color" = "#91d7e3"; + "togglesw-off-color" = "#939ab7"; + "other-user-pill-bg-color" = "#91d7e3"; + "username-colors" = [ + "#c6a0f6" + "#ee99a0" + "#f5a97f" + "#a6da95" + "#8bd5ca" + "#91d7e3" + "#7dc4e4" + "#b7bdf8" + ]; + "avatar-background-colors" = [ + "#8aadf4" + "#c6a0f6" + "#a6da95" + ]; + }; + } + { + "name" = "Catppuccin Mocha (Mauve)"; + "is_dark" = true; + "colors" = { + "accent-color" = "#cba6f7"; + "primary-color" = "#cba6f7"; + "warning-color" = "#f38ba8"; + "alert" = "#f9e2af"; + "sidebar-color" = "#11111b"; + "roomlist-background-color" = "#181825"; + "roomlist-text-color" = "#cdd6f4"; + "roomlist-text-secondary-color" = "#9399b2"; + "roomlist-highlights-color" = "#45475a"; + "roomlist-separator-color" = "#7f849c"; + "timeline-background-color" = "#1e1e2e"; + "timeline-text-color" = "#cdd6f4"; + "secondary-content" = "#cdd6f4"; + "tertiary-content" = "#cdd6f4"; + "timeline-text-secondary-color" = "#a6adc8"; + "timeline-highlights-color" = "#181825"; + "reaction-row-button-selected-bg-color" = "#45475a"; + "menu-selected-color" = "#45475a"; + "focus-bg-color" = "#585b70"; + "room-highlight-color" = "#89dceb"; + "togglesw-off-color" = "#9399b2"; + "other-user-pill-bg-color" = "#89dceb"; + "username-colors" = [ + "#cba6f7" + "#eba0ac" + "#fab387" + "#a6e3a1" + "#94e2d5" + "#89dceb" + "#74c7ec" + "#b4befe" + ]; + "avatar-background-colors" = [ + "#89b4fa" + "#cba6f7" + "#a6e3a1" + ]; + }; + } + ]; + }; + }; + }; +}