chore(users/Profpatsch/alacritty): inline dhall config

Change-Id: I1e5e5fcd1e065f42ea2cff555d6fce7d54b5aae8
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8498
Autosubmit: Profpatsch <mail@profpatsch.de>
Reviewed-by: Profpatsch <mail@profpatsch.de>
Tested-by: BuildkiteCI
This commit is contained in:
Profpatsch 2023-04-22 18:37:08 +02:00
parent 9630949f88
commit 04838db0a8
2 changed files with 5 additions and 13 deletions

View file

@ -1,6 +0,0 @@
{ alacritty-config = { font.size = 18, scolling.history = 1000000 }
, -- This disables the dpi-sensitive scaling (cause otherwise the font will be humongous on my laptop screen)
alacritty-env
. WINIT_X11_SCALE_FACTOR
= 1
}

View file

@ -4,15 +4,13 @@ let
bins = depot.nix.getBins pkgs.alacritty [ "alacritty" ]; bins = depot.nix.getBins pkgs.alacritty [ "alacritty" ];
config = config =
depot.users.Profpatsch.importDhall.importDhall { {
root = ./.; alacritty-config = { font.size = 18; scolling.history = 1000000; };
files = [ # This disables the dpi-sensitive scaling (cause otherwise the font will be humongous on my laptop screen)
"alacritty.dhall" alacritty-env.WINIT_X11_SCALE_FACTOR = 1;
];
main = "alacritty.dhall";
deps = [ ];
}; };
config-file = lib.pipe config.alacritty-config [ config-file = lib.pipe config.alacritty-config [
(lib.generators.toYAML { }) (lib.generators.toYAML { })
(pkgs.writeText "alacritty.conf") (pkgs.writeText "alacritty.conf")