Xorg: Difference between revisions
imported>Mic92 hidpi: add java |
imported>Mic92 No edit summary |
||
Line 16: | Line 16: | ||
}; | }; | ||
</pre> | </pre> | ||
In NixOS unstable and NixOS 20.03 there is also a dedicated [HiDPI module](https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/hardware/video/hidpi.nix): | |||
<pre> | |||
{ | |||
hardware.video.hidpi.enable = true; | |||
} | |||
</pre> | |||
This option will be included by default when using <code>nixos-config-generate</code> and it detects a screen larger than | |||
fullhd. This will only set linux console fonts xserver dpi settings and environment variables still needs to be applied manually. | |||
== Disabling mouse acceleration == | == Disabling mouse acceleration == |