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 777969d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
10 changes: 10 additions & 0 deletions machines/shai-hulud/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,16 @@ with lib; {
];

microsoft-surface.kernelVersion = "6.6";
microsoft-surface.ipts = {
enable = true;
config = {
Config = {
BlockOnPalm = true;
TouchThreshold = 20;
StabilityThreshold = 0.1;
};
};
};

time.timeZone = "US/Pacific";

Expand Down
11 changes: 1 addition & 10 deletions nix/nixos-modules/astral/hw/surface.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,6 @@ 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;
};
}

0 comments on commit 777969d

Please sign in to comment.