diff options
author | Graham Christensen <graham@grahamc.com> | 2017-08-30 20:43:29 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-30 20:43:29 -0400 |
commit | fb182034500aa71de27a86439f349f3654bae515 (patch) | |
tree | a16b24826785793cc5769d971434c76adae3bf82 | |
parent | b35972b3fa4e844accc01a87b5b8d1e6676d16bd (diff) | |
parent | 9d2777a5a5f861a727d09c3ecdeffd8c72c143b7 (diff) | |
download | nixpkgs-fb182034500aa71de27a86439f349f3654bae515.tar nixpkgs-fb182034500aa71de27a86439f349f3654bae515.tar.gz nixpkgs-fb182034500aa71de27a86439f349f3654bae515.tar.bz2 nixpkgs-fb182034500aa71de27a86439f349f3654bae515.tar.lz nixpkgs-fb182034500aa71de27a86439f349f3654bae515.tar.xz nixpkgs-fb182034500aa71de27a86439f349f3654bae515.tar.zst nixpkgs-fb182034500aa71de27a86439f349f3654bae515.zip |
Merge pull request #28772 from grahamc/issue-20189-libinput
Enable libinput in the installer and start deprecating synaptics
-rw-r--r-- | nixos/doc/manual/release-notes/rl-1709.xml | 8 | ||||
-rw-r--r-- | nixos/modules/installer/tools/nixos-generate-config.pl | 3 | ||||
-rw-r--r-- | nixos/modules/profiles/graphical.nix | 2 | ||||
-rw-r--r-- | nixos/modules/services/x11/hardware/synaptics.nix | 2 |
4 files changed, 13 insertions, 2 deletions
diff --git a/nixos/doc/manual/release-notes/rl-1709.xml b/nixos/doc/manual/release-notes/rl-1709.xml index 91681cc6949..88b28c29118 100644 --- a/nixos/doc/manual/release-notes/rl-1709.xml +++ b/nixos/doc/manual/release-notes/rl-1709.xml @@ -176,6 +176,14 @@ rmdir /var/lib/ipfs/.ipfs removed. The system support had been broken for several years. </para> </listitem> + <listitem> + <para> + Touchpad support should now be enabled through + <literal>libinput</literal> as <literal>synaptics</literal> is + now deprecated. See the option + <literal>services.xserver.libinput.enable</literal>. + </para> + </listitem> </itemizedlist> <para>Other notable improvements:</para> diff --git a/nixos/modules/installer/tools/nixos-generate-config.pl b/nixos/modules/installer/tools/nixos-generate-config.pl index 29b447912e7..f15f0861388 100644 --- a/nixos/modules/installer/tools/nixos-generate-config.pl +++ b/nixos/modules/installer/tools/nixos-generate-config.pl @@ -605,6 +605,9 @@ $bootLoaderConfig # services.xserver.layout = "us"; # services.xserver.xkbOptions = "eurosign:e"; + # Enable touchpad support. + # services.xserver.libinput.enable = true; + # Enable the KDE Desktop Environment. # services.xserver.displayManager.sddm.enable = true; # services.xserver.desktopManager.plasma5.enable = true; diff --git a/nixos/modules/profiles/graphical.nix b/nixos/modules/profiles/graphical.nix index e2337537518..fe9851e79a6 100644 --- a/nixos/modules/profiles/graphical.nix +++ b/nixos/modules/profiles/graphical.nix @@ -8,7 +8,7 @@ enable = true; displayManager.sddm.enable = true; desktopManager.plasma5.enable = true; - synaptics.enable = true; # for touchpad support on many laptops + libinput.enable = true; # for touchpad support on many laptops }; environment.systemPackages = [ pkgs.glxinfo ]; diff --git a/nixos/modules/services/x11/hardware/synaptics.nix b/nixos/modules/services/x11/hardware/synaptics.nix index 54454c736c1..f032c593885 100644 --- a/nixos/modules/services/x11/hardware/synaptics.nix +++ b/nixos/modules/services/x11/hardware/synaptics.nix @@ -29,7 +29,7 @@ in { enable = mkOption { type = types.bool; default = false; - description = "Whether to enable touchpad support."; + description = "Whether to enable touchpad support. Deprecated: Consider services.xserver.libinput.enable."; }; dev = mkOption { |