devices.surface: fix touch screen

This commit is contained in:
陈浩南 2024-05-11 22:09:08 +08:00
parent 7d72356996
commit 788f44f6a0

View File

@ -59,5 +59,10 @@ inputs:
boot.kernelParams = [ "intel_iommu=off" ];
environment.systemPackages = with inputs.pkgs; [ maliit-keyboard maliit-framework ];
powerManagement.resumeCommands = ''${inputs.pkgs.systemd}/bin/systemctl restart iptsd'';
services.iptsd.config =
{
Touch = { DisableOnPalm = true; DisableOnStylus = true; Overshoot = 0.5; };
Contacts = { Neutral = "Average"; NeutralValue = 50; };
};
};
}