git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #28772 from grahamc/issue-20189-libinput

Enable libinput in the installer and start deprecating synaptics

commitfb182034500aa71de27a86439f349f3654bae515 authorGraham Christensen <graham@grahamc.com> dateWed 30 Aug 2017, 20:43 (9 years ago) parentb35972b9d2777a
4 files changed+13−2
nixos/doc/manual/release-notes/rl-1709.xml+8 nixos/modules/installer/tools/nixos-generate-config.pl+3 nixos/modules/profiles/graphical.nix+1−1 nixos/modules/services/x11/hardware/synaptics.nix+1−1
nixos/doc/manual/release-notes/rl-1709.xml+8
@@ -176,6 +176,14 @@ rmdir /var/lib/ipfs/.ipfs
176176 removed. The system support had been broken for several years.
177177 </para>
178178 </listitem>
179+ <listitem>
180+ <para>
181+ Touchpad support should now be enabled through
182+ <literal>libinput</literal> as <literal>synaptics</literal> is
183+ now deprecated. See the option
184+ <literal>services.xserver.libinput.enable</literal>.
185+ </para>
186+ </listitem>
179187</itemizedlist>
180188
181189<para>Other notable improvements:</para>
nixos/modules/installer/tools/nixos-generate-config.pl+3
@@ -605,6 +605,9 @@ $bootLoaderConfig
605605 # services.xserver.layout = "us";
606606 # services.xserver.xkbOptions = "eurosign:e";
607607
608+ # Enable touchpad support.
609+ # services.xserver.libinput.enable = true;
610+
608611 # Enable the KDE Desktop Environment.
609612 # services.xserver.displayManager.sddm.enable = true;
610613 # services.xserver.desktopManager.plasma5.enable = true;
nixos/modules/profiles/graphical.nix+1−1
@@ -8,7 +8,7 @@
88 enable = true;
99 displayManager.sddm.enable = true;
1010 desktopManager.plasma5.enable = true;
11− synaptics.enable = true; # for touchpad support on many laptops
11+ libinput.enable = true; # for touchpad support on many laptops
1212 };
1313
1414 environment.systemPackages = [ pkgs.glxinfo ];
nixos/modules/services/x11/hardware/synaptics.nix+1−1
@@ -29,7 +29,7 @@ in {
2929 enable = mkOption {
3030 type = types.bool;
3131 default = false;
32− description = "Whether to enable touchpad support.";
32+ description = "Whether to enable touchpad support. Deprecated: Consider services.xserver.libinput.enable.";
3333 };
3434
3535 dev = mkOption {