Loading nixos/modules/services/hardware/iptsd.nix +7 −3 Original line number Diff line number Diff line Loading @@ -18,15 +18,15 @@ in { type = lib.types.submodule { freeformType = format.type; options = { Touch = { Touchscreen = { DisableOnPalm = lib.mkOption { default = false; description = "Ignore all touch inputs if a palm was registered on the display."; description = "Ignore all touchscreen inputs if a palm was registered on the display."; type = lib.types.bool; }; DisableOnStylus = lib.mkOption { default = false; description = "Ignore all touch inputs if a stylus is in proximity."; description = "Ignore all touchscreen inputs if a stylus is in proximity."; type = lib.types.bool; }; }; Loading @@ -43,6 +43,10 @@ in { }; config = lib.mkIf cfg.enable { warnings = lib.optional (lib.hasAttr "Touch" cfg.config) '' The option `services.iptsd.config.Touch` has been renamed to `services.iptsd.config.Touchscreen`. ''; systemd.packages = [ pkgs.iptsd ]; environment.etc."iptsd.conf".source = configFile; systemd.services."iptsd@".restartTriggers = [ configFile ]; Loading Loading
nixos/modules/services/hardware/iptsd.nix +7 −3 Original line number Diff line number Diff line Loading @@ -18,15 +18,15 @@ in { type = lib.types.submodule { freeformType = format.type; options = { Touch = { Touchscreen = { DisableOnPalm = lib.mkOption { default = false; description = "Ignore all touch inputs if a palm was registered on the display."; description = "Ignore all touchscreen inputs if a palm was registered on the display."; type = lib.types.bool; }; DisableOnStylus = lib.mkOption { default = false; description = "Ignore all touch inputs if a stylus is in proximity."; description = "Ignore all touchscreen inputs if a stylus is in proximity."; type = lib.types.bool; }; }; Loading @@ -43,6 +43,10 @@ in { }; config = lib.mkIf cfg.enable { warnings = lib.optional (lib.hasAttr "Touch" cfg.config) '' The option `services.iptsd.config.Touch` has been renamed to `services.iptsd.config.Touchscreen`. ''; systemd.packages = [ pkgs.iptsd ]; environment.etc."iptsd.conf".source = configFile; systemd.services."iptsd@".restartTriggers = [ configFile ]; Loading