diff options
author | Profpatsch <mail@profpatsch.de> | 2024-03-03T12·38+0100 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2024-03-03T13·25+0000 |
commit | 5a086020cbe09784852f231803cd47bc96de5b75 (patch) | |
tree | 182c2c189cde6e7911b3cead4b09ca9e1d99c5fe /users | |
parent | 442eabe9d0c9e88e902d40a7748652bdca3d5628 (diff) |
fix(users/Profpatsch/nix-home): fix alacritty config r/7635
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
Diffstat (limited to 'users')
-rw-r--r-- | users/Profpatsch/alacritty.nix | 8 |
1 files 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)) |