2020-09-18 13:54:09 +00:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
{
|
2020-09-24 05:45:48 +00:00
|
|
|
services.xserver.displayManager.sessionCommands = ''
|
|
|
|
xinput list | cut -d= -f2 | cut -f1 | xargs -i xinput set-prop {} 'libinput Scroll Distance Scale' 2 1
|
|
|
|
'';
|
2020-09-18 13:54:09 +00:00
|
|
|
|
2020-09-24 05:45:48 +00:00
|
|
|
nixpkgs.overlays = [
|
|
|
|
(self: super: {
|
|
|
|
xorg = super.xorg.overrideScope' (selfB: superB: {
|
|
|
|
inherit (super.xorg) xlibsWrapper;
|
|
|
|
xf86inputlibinput = superB.xf86inputlibinput.overrideAttrs (attr: {
|
|
|
|
patches = [ ./b7b5c5ef5f34802fc5f57e68493afaea5db7cdb4.diff ];
|
2020-09-18 13:54:09 +00:00
|
|
|
});
|
2020-09-24 05:45:48 +00:00
|
|
|
});
|
|
|
|
})
|
|
|
|
];
|
2020-09-18 13:54:09 +00:00
|
|
|
}
|