From f1273cf04638d68be1cf0420748422f14777647c Mon Sep 17 00:00:00 2001 From: Nathan McCarty Date: Sat, 12 Feb 2022 23:35:16 -0500 Subject: [PATCH] Migrate alacritty config to home-manager --- home.nix | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/home.nix b/home.nix index feb0cde..3aba33a 100644 --- a/home.nix +++ b/home.nix @@ -67,6 +67,49 @@ }; }; }; + # Alacritty configuration + programs.alacritty = { + enable = true; + settings = { + env = { + TERM = "xterm-256color"; + ALACRITTY = "1"; + }; + font = { + normal.family = "FiraCode Nerd Font"; + bold.family = "FiraCode Nerd Font"; + italic.family = "FiraCode Nerd Font"; + bold_italic.family = "FiraCode Nerd Font"; + size = 9.0; + }; + colors = { + primary = { + background = "0x103c48"; + foreground = "0xadbcbc"; + }; + normal = { + black = "0x184956"; + red = "0xfa5750"; + green = "0x75b938"; + yellow = "0xdbb32d"; + blue = "0x4695f7"; + magenta = "0xf275be"; + cyan = "0x41c7b9"; + white = "0x72898f"; + }; + bright = { + black = "0x2d5b69"; + red = "0xff665c"; + green = "0x84c747"; + yellow = "0xebc13d"; + blue = "0x58a3ff"; + magenta = "0xff84cd"; + cyan = "0x53d6c7"; + white = "0xcad8d9"; + }; + }; + }; + }; ## Multimedia # Easyeffects for the eq services.easyeffects.enable = true;