From 3fc184a22607952db257c9c76a6f8f1d7afd16d6 Mon Sep 17 00:00:00 2001 From: tv Date: Wed, 11 Jan 2023 20:08:56 +0100 Subject: [PATCH] tv alacritty: automatically select hidpi variant --- tv/2configs/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tv/2configs/default.nix b/tv/2configs/default.nix index 540587254..d1384845a 100644 --- a/tv/2configs/default.nix +++ b/tv/2configs/default.nix @@ -129,4 +129,11 @@ with import ./lib; ]; } ]; + + nixpkgs.overlays = + mkAfter (optional config.hardware.video.hidpi.enable (self: super: { + alacritty-tv = super.alacritty-tv.override { + variant = "hidpi"; + }; + })); }