pkgs/alacritty: globally disable HIDPI scaling
This commit is contained in:
parent
c4f4d2a5e7
commit
0a7ea11568
1 changed files with 13 additions and 1 deletions
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue