From 7531bd472d3939224b1f334f72accecc2f66238e Mon Sep 17 00:00:00 2001 From: alejandro-angulo Date: Sat, 3 Aug 2024 09:22:54 -0700 Subject: [PATCH] Removed alacritty module --- modules/home/apps/tmux/default.nix | 3 -- .../desktop/addons/alacritty/default.nix | 51 ------------------- 2 files changed, 54 deletions(-) delete mode 100644 modules/nixos/desktop/addons/alacritty/default.nix diff --git a/modules/home/apps/tmux/default.nix b/modules/home/apps/tmux/default.nix index 229f997..754e53c 100644 --- a/modules/home/apps/tmux/default.nix +++ b/modules/home/apps/tmux/default.nix @@ -65,9 +65,6 @@ in { ]; extraConfig = '' - # Color fix - # set-option -ga terminal-overrides ",alacritty:Tc,xterm-256color:Tc" - # Scrolling with mouse wheel scrolls output instead of previous commands setw -g mouse on diff --git a/modules/nixos/desktop/addons/alacritty/default.nix b/modules/nixos/desktop/addons/alacritty/default.nix deleted file mode 100644 index f2e6f2f..0000000 --- a/modules/nixos/desktop/addons/alacritty/default.nix +++ /dev/null @@ -1,51 +0,0 @@ -{ - options, - config, - lib, - pkgs, - ... -}: -with lib; let - cfg = config.aa.desktop.addons.alacritty; -in { - options.aa.desktop.addons.alacritty = with types; { - enable = mkEnableOption "alacritty"; - }; - - config = mkIf cfg.enable { - aa.system.fonts.enable = true; - - # alacritty won't start without opengl - hardware.graphics.enable = true; - - aa.home = { - extraOptions = { - programs.alacritty = { - enable = true; - settings = { - window.opacity = 0.95; - font = { - size = 12.0; - normal = { - family = "Hack Nerd Font"; - style = "Regular"; - }; - bold = { - family = "Hack Nerd Font"; - style = "Bold"; - }; - italic = { - family = "Hack Nerd Font"; - style = "Italic"; - }; - bold_italic = { - family = "Hack Nerd Font"; - style = "Bold Italic"; - }; - }; - }; - }; - }; - }; - }; -}