Xorg: Difference between revisions
imported>Mic92 link to graphic cards |
imported>Cas1no No edit summary |
||
Line 28: | Line 28: | ||
fullhd. This will only set linux console fonts xserver dpi settings and environment variables still needs to be applied manually. | fullhd. This will only set linux console fonts xserver dpi settings and environment variables still needs to be applied manually. | ||
== Disabling mouse | == Disabling touchpad and mouse accelerations == | ||
To disable mouse | To disable touchpad and mouse accelerations just add the following lines to your <code>configuration.nix</code> | ||
<pre> | <pre> | ||
services.xserver | services.xserver = { | ||
enable = true; | |||
... | |||
libinput = { | |||
enable = true; | |||
# disabling mouse acceleration | |||
mouse = { | |||
accelProfile = "flat"; | |||
}; | |||
# disabling touchpad acceleration | |||
touchpad = { | |||
accelProfile = "flat"; | |||
}; | |||
}; | |||
... | |||
}; | |||
</pre> | </pre> | ||