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 <mail@profpatsch.de>
Reviewed-by: Profpatsch <mail@profpatsch.de>
Tested-by: BuildkiteCI
This commit is contained in:
Profpatsch 2024-03-03 13:38:08 +01:00 committed by clbot
parent 442eabe9d0
commit 5a086020cb

View file

@ -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))