Loading nixos/modules/module-list.nix +1 −1 Original line number Diff line number Diff line Loading @@ -558,6 +558,7 @@ ./services/hardware/joycond.nix ./services/hardware/kanata.nix ./services/hardware/lcd.nix ./services/hardware/libinput.nix ./services/hardware/lirc.nix ./services/hardware/nvidia-container-toolkit-cdi-generator ./services/hardware/monado.nix Loading Loading @@ -1466,7 +1467,6 @@ ./services/x11/gdk-pixbuf.nix ./services/x11/hardware/cmt.nix ./services/x11/hardware/digimend.nix ./services/x11/hardware/libinput.nix ./services/x11/hardware/synaptics.nix ./services/x11/hardware/wacom.nix ./services/x11/imwheel.nix Loading nixos/modules/services/x11/hardware/libinput.nix→nixos/modules/services/hardware/libinput.nix +8 −4 Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ with lib; let cfg = config.services.xserver.libinput; let cfg = config.services.libinput; xorgBool = v: if v then "on" else "off"; Loading Loading @@ -223,7 +223,7 @@ let cfg = config.services.xserver.libinput; in { imports = (map (option: mkRenamedOptionModule ([ "services" "xserver" "libinput" option ]) [ "services" "xserver" "libinput" "touchpad" option ]) [ (map (option: mkRenamedOptionModule ([ "services" "xserver" "libinput" option ]) [ "services" "libinput" "touchpad" option ]) [ "accelProfile" "accelSpeed" "buttonMapping" Loading @@ -242,11 +242,15 @@ in { "transformationMatrix" "disableWhileTyping" "additionalOptions" ]); ]) ++ [ (mkRenamedOptionModule [ "services" "xserver" "libinput" "enable" ] [ "services" "libinput" "enable" ]) (mkRenamedOptionModule [ "services" "xserver" "libinput" "mouse" ] [ "services" "libinput" "mouse" ]) (mkRenamedOptionModule [ "services" "xserver" "libinput" "touchpad" ] [ "services" "libinput" "touchpad" ]) ]; options = { services.xserver.libinput = { services.libinput = { enable = mkEnableOption "libinput" // { default = config.services.xserver.enable; defaultText = lib.literalExpression "config.services.xserver.enable"; Loading Loading
nixos/modules/module-list.nix +1 −1 Original line number Diff line number Diff line Loading @@ -558,6 +558,7 @@ ./services/hardware/joycond.nix ./services/hardware/kanata.nix ./services/hardware/lcd.nix ./services/hardware/libinput.nix ./services/hardware/lirc.nix ./services/hardware/nvidia-container-toolkit-cdi-generator ./services/hardware/monado.nix Loading Loading @@ -1466,7 +1467,6 @@ ./services/x11/gdk-pixbuf.nix ./services/x11/hardware/cmt.nix ./services/x11/hardware/digimend.nix ./services/x11/hardware/libinput.nix ./services/x11/hardware/synaptics.nix ./services/x11/hardware/wacom.nix ./services/x11/imwheel.nix Loading
nixos/modules/services/x11/hardware/libinput.nix→nixos/modules/services/hardware/libinput.nix +8 −4 Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ with lib; let cfg = config.services.xserver.libinput; let cfg = config.services.libinput; xorgBool = v: if v then "on" else "off"; Loading Loading @@ -223,7 +223,7 @@ let cfg = config.services.xserver.libinput; in { imports = (map (option: mkRenamedOptionModule ([ "services" "xserver" "libinput" option ]) [ "services" "xserver" "libinput" "touchpad" option ]) [ (map (option: mkRenamedOptionModule ([ "services" "xserver" "libinput" option ]) [ "services" "libinput" "touchpad" option ]) [ "accelProfile" "accelSpeed" "buttonMapping" Loading @@ -242,11 +242,15 @@ in { "transformationMatrix" "disableWhileTyping" "additionalOptions" ]); ]) ++ [ (mkRenamedOptionModule [ "services" "xserver" "libinput" "enable" ] [ "services" "libinput" "enable" ]) (mkRenamedOptionModule [ "services" "xserver" "libinput" "mouse" ] [ "services" "libinput" "mouse" ]) (mkRenamedOptionModule [ "services" "xserver" "libinput" "touchpad" ] [ "services" "libinput" "touchpad" ]) ]; options = { services.xserver.libinput = { services.libinput = { enable = mkEnableOption "libinput" // { default = config.services.xserver.enable; defaultText = lib.literalExpression "config.services.xserver.enable"; Loading