surface: Fix issues with config

This commit is contained in:
PapaTutuWawa 2022-01-06 14:27:12 +01:00
parent f72a872dff
commit 8dd411e6d9

View File

@ -2,6 +2,8 @@
let let
cfg = config.ptw.hardware.surface; cfg = config.ptw.hardware.surface;
fetchurl = pkgs.fetchurl;
commit = "69d1e5826e6380c8ff0cd532e244482097562c3d";
in { in {
options.ptw.hardware.surface = { options.ptw.hardware.surface = {
enable = lib.mkEnableOption "Enable support for the Microsoft Surface Pro 6"; enable = lib.mkEnableOption "Enable support for the Microsoft Surface Pro 6";
@ -25,7 +27,7 @@ in {
}; };
hardware.video.hidpi.enable = true; hardware.video.hidpi.enable = true;
systemd.services.iptsd = { systemd.services.iptsd = lib.mkForce {
description = "Userspace daemon for Intel Precise Touch & Stylus"; description = "Userspace daemon for Intel Precise Touch & Stylus";
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
wants = [ "dev-ipts-15.device" ]; wants = [ "dev-ipts-15.device" ];