pkgs/alacritty: globally disable HIDPI scaling

This commit is contained in:
steveej 2019-09-06 12:36:21 +02:00
parent c4f4d2a5e7
commit 0a7ea11568

View file

@ -12,7 +12,19 @@ let
}; };
in { in {
alacritty = nixpkgs-master.alacritty; # alacritty = nixpkgs-master.alacritty;
alacritty = super.stdenv.mkDerivation {
name = "alacritty-custom";
buildInputs = [ super.makeWrapper ];
phases = "installPhase";
installPhase = ''
makeWrapper ${nixpkgs-master.alacritty}/bin/alacritty $out/bin/alacritty \
--set-default WINIT_HIDPI_FACTOR 1.0
'';
};
podman = nixpkgs-master.podman; podman = nixpkgs-master.podman;
conmon = nixpkgs-master.conmon; conmon = nixpkgs-master.conmon;