Skip to content

Commit

Permalink
Add iptsd again
Browse files Browse the repository at this point in the history
  • Loading branch information
ifd3f committed Mar 9, 2024
1 parent 7076809 commit 2fdefaa
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions nix/nixos-modules/astral/hw/surface.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,16 @@ with lib; {
];

services.touchegg.enable = true;

services.xserver.libinput = { enable = true; };

# https://github.com/linux-surface/iptsd/blob/master/etc/ipts.conf
environment.etc."ipts.conf".text = ''
[Config]
BlockOnPalm = true
TouchThreshold = 20
StabilityThreshold = 0.1
'';
services.xserver.libinput.enable = true;
microsoft-surface.ipts = {
enable = true;
config = {
Config = {
BlockOnPalm = true;
TouchThreshold = 20;
StabilityThreshold = 0.1;
};
};
};
};
}

0 comments on commit 2fdefaa

Please sign in to comment.