diff options
author | Freya Murphy <freya@freyacat.org> | 2025-09-17 22:07:16 -0400 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2025-09-17 22:07:16 -0400 |
commit | 68d03fe362b7e0df11662d8d6a1e01eac0bfae77 (patch) | |
tree | a76abd05f662f73b4083ddb0d8bf0d72c29e5a74 /modules/apps/alacritty.nix | |
parent | update commits (diff) | |
download | dotfiles-nix-68d03fe362b7e0df11662d8d6a1e01eac0bfae77.tar.gz dotfiles-nix-68d03fe362b7e0df11662d8d6a1e01eac0bfae77.tar.bz2 dotfiles-nix-68d03fe362b7e0df11662d8d6a1e01eac0bfae77.zip |
refactor: remove modules folder, fully split home and system modules
Diffstat (limited to 'modules/apps/alacritty.nix')
-rw-r--r-- | modules/apps/alacritty.nix | 99 |
1 files changed, 0 insertions, 99 deletions
diff --git a/modules/apps/alacritty.nix b/modules/apps/alacritty.nix deleted file mode 100644 index b50e142..0000000 --- a/modules/apps/alacritty.nix +++ /dev/null @@ -1,99 +0,0 @@ -{ - config, - lib, - ... -}: let - inherit (lib) mkIf; - cfg = config.apps; -in { - config = mkIf cfg.alacritty { - default.terminal = lib.mkDefault "alacritty"; - - home-manager.users.${config.user} = { - programs.alacritty = { - enable = true; - - settings = { - # Font - font = { - size = 11; - bold = { - style = "Bold"; - }; - bold_italic = { - style = "Bold Italic"; - }; - italic = { - style = "Italic"; - }; - normal = { - family = config.theme.font.monospace; - style = "Regular"; - }; - offset = { - x = 0; - y = 0; - }; - }; - - # Window - window = { - decorations = "full"; - dynamic_title = true; - padding = { - x = config.theme.outerGap; - y = config.theme.outerGap; - }; - opacity = config.theme.opacity; - }; - - # Colors - colors = { - normal = lib.attrsets.mapAttrs (name: color: "${color}") { - inherit - (config.theme.colors.normal) - black - red - green - yellow - blue - magenta - cyan - white - ; - }; - - bright = lib.attrsets.mapAttrs (name: color: "${color}") { - inherit - (config.theme.colors.bright) - black - red - green - yellow - blue - magenta - cyan - white - ; - }; - - cursor = { - background = "CellForeground"; - text = "CellBackground"; - }; - - selection = { - background = "CellForeground"; - text = "CellBackground"; - }; - - primary = { - foreground = "#${config.theme.colors.text}"; - background = "#${config.theme.colors.base}"; - }; - }; - }; - }; - }; - }; -} |