diff options
| author | Leonardo <noreply@leoflo.me> | 2025-11-03 22:16:55 +0100 |
|---|---|---|
| committer | Leonardo <noreply@leoflo.me> | 2025-11-03 22:16:55 +0100 |
| commit | 3925cf2bb704645de9d00d2131ddb08712d4f620 (patch) | |
| tree | ae5f85f160d8b65a6eac9625752ae15ee5be530e /hermes/home-manager/leo/programs/alacritty.nix | |
| download | nixos-3925cf2bb704645de9d00d2131ddb08712d4f620.tar.gz nixos-3925cf2bb704645de9d00d2131ddb08712d4f620.zip | |
primo commit
Diffstat (limited to 'hermes/home-manager/leo/programs/alacritty.nix')
| -rw-r--r-- | hermes/home-manager/leo/programs/alacritty.nix | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/hermes/home-manager/leo/programs/alacritty.nix b/hermes/home-manager/leo/programs/alacritty.nix new file mode 100644 index 0000000..a49b3dd --- /dev/null +++ b/hermes/home-manager/leo/programs/alacritty.nix @@ -0,0 +1,51 @@ +{lib, config, ...}: { + options.alacritty.enable = lib.mkEnableOption "alacritty config"; + + config = lib.mkIf config.alacritty.enable { + programs.alacritty = { + enable = true; + + settings = { + window = { + dimensions = { columns = 110; lines = 30; }; + padding = { x = 0; y = 0; }; + opacity = 1.0; + blur = false; + }; + + font = { + size = 12.00; + }; + + colors = { + primary = { + background = "#282c34"; + foreground = "#abb2bf"; + }; + + 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"; + }; + }; + }; + }; + }; +} |
