about summary refs log tree commit diff
path: root/users/Profpatsch/alacritty.nix
diff options
context:
space:
mode:
Diffstat (limited to 'users/Profpatsch/alacritty.nix')
-rw-r--r--users/Profpatsch/alacritty.nix8
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))