diff --git a/home-manager/home.nix b/home-manager/home.nix index 1258ef4..5221f2e 100644 --- a/home-manager/home.nix +++ b/home-manager/home.nix @@ -22,6 +22,7 @@ ./modules/nvim.nix ./modules/restic.nix ./modules/theming.nix + ./modules/alacritty.nix ]; @@ -36,7 +37,6 @@ bukubrow # Nice bookmark manager browser support rclone # Best sync client in the world age # Simple file encryption - alacritty # Best terminal nitch # Simple system info libarchive # bsdtar imagemagick # image tools diff --git a/home-manager/modules/alacritty.nix b/home-manager/modules/alacritty.nix new file mode 100644 index 0000000..53187f2 --- /dev/null +++ b/home-manager/modules/alacritty.nix @@ -0,0 +1,10 @@ +{ inputs, ... }: +{ + # Install alacritty + programs.alacritty.enable = true; + + # Setup my config file + home.file = { + ".config/alacritty/alacritty.toml".source = ./confs/alacritty.toml; + }; +} diff --git a/home-manager/modules/confs/alacritty.toml b/home-manager/modules/confs/alacritty.toml new file mode 100644 index 0000000..69b7ab4 --- /dev/null +++ b/home-manager/modules/confs/alacritty.toml @@ -0,0 +1,110 @@ +[colors.primary] +background = "#303446" +foreground = "#C6D0F5" +dim_foreground = "#C6D0F5" +bright_foreground = "#C6D0F5" + +[colors.cursor] +text = "#303446" +cursor = "#F2D5CF" + +[colors.vi_mode_cursor] +text = "#303446" +cursor = "#BABBF1" + +[colors.search.matches] +foreground = "#303446" +background = "#A5ADCE" + +[colors.search.focused_match] +foreground = "#303446" +background = "#A6D189" + +[colors.footer_bar] +foreground = "#303446" +background = "#A5ADCE" + +[colors.hints.start] +foreground = "#303446" +background = "#E5C890" + +[colors.hints.end] +foreground = "#303446" +background = "#A5ADCE" + +[colors.selection] +text = "#303446" +background = "#F2D5CF" + +[colors.normal] +black = "#51576D" +red = "#E78284" +green = "#A6D189" +yellow = "#E5C890" +blue = "#8CAAEE" +magenta = "#F4B8E4" +cyan = "#81C8BE" +white = "#B5BFE2" + +[colors.bright] +black = "#626880" +red = "#E78284" +green = "#A6D189" +yellow = "#E5C890" +blue = "#8CAAEE" +magenta = "#F4B8E4" +cyan = "#81C8BE" +white = "#A5ADCE" + +[colors.dim] +black = "#51576D" +red = "#E78284" +green = "#A6D189" +yellow = "#E5C890" +blue = "#8CAAEE" +magenta = "#F4B8E4" +cyan = "#81C8BE" +white = "#B5BFE2" + +[[colors.indexed_colors]] +index = 16 +color = "#EF9F76" + +[[colors.indexed_colors]] +index = 17 +color = "#F2D5CF" + +[font] +builtin_box_drawing = true +size = 11 + +[font.bold] +family = "CaskaydiaCove Nerd Font" +style = "Bold" + +[font.bold_italic] +family = "CaskaydiaCove Nerd Font" +style = "Bold Italic" + +[font.italic] +family = "CaskaydiaCove Nerd Font" +style = "Italic" + +[font.normal] +family = "CaskaydiaCove Nerd Font" +style = "Regular" + +[[keyboard.bindings]] +action = "ToggleFullscreen" +key = "F11" + +[window] +decorations = "full" +dynamic_padding = true +dynamic_title = true +opacity = 1 +startup_mode = "Maximized" + +[window.padding] +x = 10 +y = 10