From 5a086020cbe09784852f231803cd47bc96de5b75 Mon Sep 17 00:00:00 2001 From: Profpatsch Date: Sun, 3 Mar 2024 13:38:08 +0100 Subject: fix(users/Profpatsch/nix-home): fix alacritty config they switched to TOML & I had a typo in `scolling` Change-Id: If68408162e7772fbd3b06944ffd9d51dd2134efa Reviewed-on: https://cl.tvl.fyi/c/depot/+/11083 Autosubmit: Profpatsch Reviewed-by: Profpatsch Tested-by: BuildkiteCI --- users/Profpatsch/alacritty.nix | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/users/Profpatsch/alacritty.nix b/users/Profpatsch/alacritty.nix index 917db0541624..d3461c4aadfb 100644 --- a/users/Profpatsch/alacritty.nix +++ b/users/Profpatsch/alacritty.nix @@ -5,17 +5,13 @@ let config = { - alacritty-config = { font.size = 18; scolling.history = 1000000; }; + alacritty-config = { font.size = 18; scrolling.history = 100000; }; # This disables the dpi-sensitive scaling (cause otherwise the font will be humongous on my laptop screen) alacritty-env.WINIT_X11_SCALE_FACTOR = 1; }; - config-file = lib.pipe config.alacritty-config [ - (lib.generators.toYAML { }) - (pkgs.writeText "alacritty.conf") - ]; - + config-file = (pkgs.formats.toml { }).generate "alacritty.conf" config.alacritty-config; alacritty = depot.nix.writeExecline "alacritty" { } ( (lib.concatLists (lib.mapAttrsToList (k: v: [ "export" k (toString v) ]) config.alacritty-env)) -- cgit 1.4.1