aboutsummaryrefslogtreecommitdiffstats
path: root/alacritty/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'alacritty/default.nix')
-rw-r--r--alacritty/default.nix77
1 files changed, 77 insertions, 0 deletions
diff --git a/alacritty/default.nix b/alacritty/default.nix
new file mode 100644
index 0000000..b4dd846
--- /dev/null
+++ b/alacritty/default.nix
@@ -0,0 +1,77 @@
+{ pkgs, config, ... }:
+
+{
+ programs.alacritty = {
+ enable = true;
+
+ settings = {
+ window = {
+ opacity = 1.0;
+ padding = {
+ x = 4;
+ y = 0;
+ };
+ decorations = "full";
+ };
+
+ font = {
+ normal = {
+ family = "Fira Code Nerd Font";
+ style = "Retina";
+ };
+ bold = {
+ family = "Fira Code Nerd Font";
+ style = "Bold";
+ };
+ italic = {
+ family = "Fira Code Nerd Font";
+ };
+ size = 16.0;
+ };
+
+ colors = with config.lib.stylix.colors; {
+ primary = {
+ background = "0x${base00}";
+ foreground = "0x${base05}";
+ };
+
+ normal = {
+ black = "0x${base00}";
+ red = "0x${base08}";
+ green = "0x${base0B}";
+ yellow = "0x${base0A}";
+ blue = "0x${base0D}";
+ magenta = "0x${base0E}";
+ cyan = "0x${base0C}";
+ white = "0x${base05}";
+ };
+
+ bright = {
+ black = "0x${base03}";
+ red = "0x${base08}";
+ green = "0x${base0B}";
+ yellow = "0x${base0A}";
+ blue = "0x${base0D}";
+ magenta = "0x${base0E}";
+ cyan = "0x${base0C}";
+ white = "0x${base07}";
+ };
+
+ dim = {
+ black = "0x${base01}";
+ red = "0x${base08}";
+ green = "0x${base0B}";
+ yellow = "0x${base0A}";
+ blue = "0x${base0D}";
+ magenta = "0x${base0E}";
+ cyan = "0x${base0C}";
+ white = "0x${base04}";
+ };
+ };
+
+ shell = {
+ program = "${pkgs.zsh}/bin/zsh";
+ };
+ };
+ };
+}