commit 647690b4a7c2307c700def03cd4edee10fa1ae34 parent ff2a791a61a4bb35b91a67d0504e12de90f75df1 Author: vin <vin@vineetk.net> Date: Wed, 8 Jan 2025 20:38:18 -0500 declaratively add alacritty :) Diffstat:
| M | home.nix | | | 80 | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++- |
1 file changed, 79 insertions(+), 1 deletion(-)
diff --git a/home.nix b/home.nix @@ -9,7 +9,6 @@ packages = with pkgs; [ aerc age - alacritty # doing st/suckless declaratively seems like it'll suck dmenu doas kicad @@ -221,6 +220,85 @@ }; }; + alacritty = { + enable = true; + + settings = { + general.live_config_reload = true; + + window = { + dimensions = { + columns = 80; + lines = 24; + }; + + decorations = "None"; + + padding = { + x = 10; + y = 10; + }; + }; + + font.size = 14; + + selection.save_to_clipboard = true; + + hints.enabled = [ + { + binding = { + key = "U"; + mods = "Control|Shift"; + }; + + command.program = "qutebrowser"; + hyperlinks = true; + post_processing = true; + regex = "(ipfs:|ipns:|magnet:|mailto:|gemini://|gopher://|https://|http://|news:|file:|git://|ssh:|ftp://)[^\u0000-\u001F\u007F-\u009F<>\"\\\\s{-}\\\\^⟨⟩`]+"; + } + ]; + + cursor = { + style.shape = "Block"; + thickness = 0.1; + }; + + colors = { + primary = { + background = "#141b1e"; + foreground = "#dadada"; + }; + + cursor = { + text = "#141b1e"; + cursor = "#dadada"; + }; + + normal = { + black = "#232a2d"; + red = "#e57474"; + green = "#8ccf7e"; + yellow = "#e5c76b"; + blue = "#67b0e8"; + magenta = "#c47fd5"; + cyan = "#6cbfbf"; + white = "#b3b9b8"; + }; + + bright = { + black = "#2d3437"; + red = "#ef7e7e"; + green = "#96d988"; + yellow = "#f4d67a"; + blue = "#71baf2"; + magenta = "#ce89df"; + cyan = "#67cbe7"; + white = "#bdc3c2"; + }; + }; + }; + }; + git = { enable = true; difftastic = {