From cfb09be4801c1d41eda9113531a08e9d9e54ac62 Mon Sep 17 00:00:00 2001 From: Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> Date: Tue, 17 Sep 2024 22:55:39 +0530 Subject: Adding many changes. --- alacritty/default.nix | 120 +++++++++++++++++++++++++------------------------- 1 file changed, 59 insertions(+), 61 deletions(-) (limited to 'alacritty/default.nix') diff --git a/alacritty/default.nix b/alacritty/default.nix index b4dd846..5dee8ee 100644 --- a/alacritty/default.nix +++ b/alacritty/default.nix @@ -1,77 +1,75 @@ { pkgs, config, ... }: { - programs.alacritty = { - enable = true; + programs.alacritty.enable = true; - settings = { - window = { - opacity = 1.0; - padding = { - x = 4; - y = 0; - }; - decorations = "full"; + programs.alacritty.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; + 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}"; - }; + colors = with config.lib.stylix.colors; { + primary = { + background = "0x${base00}"; + foreground = "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}"; - }; + 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}"; + }; - 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}"; - }; + 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}"; }; - shell = { - program = "${pkgs.zsh}/bin/zsh"; + 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"; + }; }; } -- cgit v1.2.3