summaryrefslogtreecommitdiffstats
path: root/tv
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2023-01-11 20:08:56 +0100
committertv <tv@krebsco.de>2023-01-11 20:47:53 +0100
commit3fc184a22607952db257c9c76a6f8f1d7afd16d6 (patch)
treeaeee94a1c585b89c3f40c7233a75a2f0899bf347 /tv
parent82589eef82d0af4237ad6747d2576659bba3e0b8 (diff)
tv alacritty: automatically select hidpi variant
Diffstat (limited to 'tv')
-rw-r--r--tv/2configs/default.nix7
1 files changed, 7 insertions, 0 deletions
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";
+ };
+ }));
}