Kieran's opinionated (and probably slightly dumb) nix config
1{ lib, config, ... }:
2{
3 options.atelier.terminal.alacritty.enable = lib.mkEnableOption "Enable Alacritty terminal config";
4 config = lib.mkIf config.atelier.terminal.alacritty.enable {
5 catppuccin.alacritty.flavor = "mocha";
6 programs.alacritty = {
7 enable = true;
8 settings = {
9 general.live_config_reload = true;
10 cursor = {
11 unfocused_hollow = true;
12 style = {
13 blinking = "On";
14 };
15 };
16 window = {
17 opacity = 0.88;
18 padding = {
19 x = 12;
20 y = 12;
21 };
22 };
23 font = {
24 size = 13;
25 normal = {
26 family = "JetBrainsMono Nerd Font";
27 };
28 };
29 colors = {
30 normal = {
31 magenta = lib.mkForce "#db87c5";
32 };
33 primary = {
34 foreground = lib.mkForce "#ABB2BF";
35 };
36 };
37 };
38 };
39 };
40}