From 90f9a2f03b3fcacd0da8d262a6d3bccfa2c3ef33 Mon Sep 17 00:00:00 2001 From: Bryan Ramos Date: Sat, 27 Jan 2024 15:38:08 -0500 Subject: [PATCH] bigly --- .../modules/alacritty/config/alacritty.nix | 127 +++++++++--------- homeConfig/modules/alacritty/default.nix | 9 +- homeConfig/modules/corn/default.nix | 4 +- 3 files changed, 69 insertions(+), 71 deletions(-) diff --git a/homeConfig/modules/alacritty/config/alacritty.nix b/homeConfig/modules/alacritty/config/alacritty.nix index 53f4a55..efd0c73 100644 --- a/homeConfig/modules/alacritty/config/alacritty.nix +++ b/homeConfig/modules/alacritty/config/alacritty.nix @@ -1,74 +1,69 @@ -{ pkgs, lib, ... }: - { - enable = true; - settings = { - scrolling = { - history = 10000; - multiplier = 3; + scrolling = { + history = 10000; + multiplier = 3; + }; + + window = { + opacity = 0.90; + }; + + colors = { + primary = { + background = "#000000"; + foreground = "#cdd6f4"; }; - window = { - opacity = 0.90; + normal = { + black = "#1e2127"; + red = "#e06c75"; + green = "#98c379"; + yellow = "#d19a66"; + blue = "#61afef"; + magenta = "#c678dd"; + cyan = "#56b6c2"; + white = "#abb2bf"; }; - colors = { - primary = { - background = "#000000"; - foreground = "#cdd6f4"; - }; - - normal = { - black = "#1e2127"; - red = "#e06c75"; - green = "#98c379"; - yellow = "#d19a66"; - blue = "#61afef"; - magenta = "#c678dd"; - cyan = "#56b6c2"; - white = "#abb2bf"; - }; - - bright = { - black = "#5c6370"; - red = "#e06c75"; - green = "#98c379"; - yellow = "#d19a66"; - blue = "#61afef"; - magenta = "#c678dd"; - cyan = "#56b6c2"; - white = "#ffffff"; - }; - }; - - font = { - size = 12; - normal = { - family = "Terminus"; - style = "Regular"; - }; - - bold = { - family = "Terminus"; - style = "Bold"; - }; - - italic = { - family = "Terminus"; - style = "Italic"; - }; - - bold_italic = { - family = "Terminus"; - style = "Bold Italic"; - }; - }; - - - cursor = { - # shape = "Block"; - # blinking = "Always"; - # blink_interval = 750; + bright = { + black = "#5c6370"; + red = "#e06c75"; + green = "#98c379"; + yellow = "#d19a66"; + blue = "#61afef"; + magenta = "#c678dd"; + cyan = "#56b6c2"; + white = "#ffffff"; }; }; + + font = { + size = 12; + normal = { + family = "Terminus"; + style = "Regular"; + }; + + bold = { + family = "Terminus"; + style = "Bold"; + }; + + italic = { + family = "Terminus"; + style = "Italic"; + }; + + bold_italic = { + family = "Terminus"; + style = "Bold Italic"; + }; + }; + + + #cursor = { + # shape = "Block"; + # blinking = "Always"; + # blink_interval = 750; + #}; } diff --git a/homeConfig/modules/alacritty/default.nix b/homeConfig/modules/alacritty/default.nix index 7fec577..4e8d097 100644 --- a/homeConfig/modules/alacritty/default.nix +++ b/homeConfig/modules/alacritty/default.nix @@ -1,13 +1,16 @@ { pkgs, lib, config, ... }: with lib; -let +let cfg = config.modules.alacritty; -in +in { options.modules.alacritty = { enable = mkEnableOption "alacritty"; }; config = mkIf cfg.enable { - programs.alacritty = import ./config/alacritty.nix { inherit pkgs lib; }; + programs.alacritty = { + enable = true; + settings = import ./config/alacritty.nix; + }; home.packages = with pkgs; [ terminus-nerdfont diff --git a/homeConfig/modules/corn/default.nix b/homeConfig/modules/corn/default.nix index a4428a1..68c221b 100644 --- a/homeConfig/modules/corn/default.nix +++ b/homeConfig/modules/corn/default.nix @@ -1,10 +1,10 @@ { pkgs, lib, config, ... }: with lib; -let +let cfg = config.modules.corn; -in +in { options.modules.corn = { enable = mkEnableOption "corn"; }; config = mkIf cfg.enable { home.packages = with pkgs; [