Xorg: Difference between revisions

Klinger (talk | contribs)
m Remove obsolete hidpi.nix module. This has been removed in NixOS 23.05 (#222236).
Line 16: Line 16:
   };
   };
</syntaxhighlight>
</syntaxhighlight>
In NixOS unstable (but not in NixOS 20.03) there is also a dedicated [https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/hardware/video/hidpi.nix HiDPI module]:
<syntaxhighlight lang="nix">
{
  hardware.video.hidpi.enable = true;
}
</syntaxhighlight>
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 touchpad and mouse accelerations ==
== Disabling touchpad and mouse accelerations ==