From d5fc380b1e77458b375c563882c39792bcd9d01a Mon Sep 17 00:00:00 2001 From: Baitinq Date: Thu, 30 Jun 2022 13:27:03 +0200 Subject: Switch from libinput to synaptics --- hosts/luna/hardware.nix | 10 ++++++---- hosts/phobos/default.nix | 1 - hosts/phobos/hardware.nix | 10 ++++++---- 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/hosts/luna/hardware.nix b/hosts/luna/hardware.nix index 4d068d0..ade190f 100644 --- a/hosts/luna/hardware.nix +++ b/hosts/luna/hardware.nix @@ -42,11 +42,13 @@ in powerManagement.cpuFreqGovernor = powerMode; - services.xserver = { - videoDrivers = [ "intel" ]; + services = { + xserver = { + videoDrivers = [ "intel" ]; - # Enable touchpad support (enabled default in most desktopManager). - libinput.enable = true; + # Enable touchpad support (enabled default in most desktopManager). + synaptics.enable = true; + }; }; hardware = { diff --git a/hosts/phobos/default.nix b/hosts/phobos/default.nix index 2bfcd81..cb96907 100644 --- a/hosts/phobos/default.nix +++ b/hosts/phobos/default.nix @@ -26,7 +26,6 @@ environment.systemPackages = with pkgs; [ - ]; programs = { diff --git a/hosts/phobos/hardware.nix b/hosts/phobos/hardware.nix index 05a6d43..3e316f4 100644 --- a/hosts/phobos/hardware.nix +++ b/hosts/phobos/hardware.nix @@ -42,11 +42,13 @@ in powerManagement.cpuFreqGovernor = powerMode; - services.xserver = { - videoDrivers = [ "nvidia" ]; + services = { + xserver = { + videoDrivers = [ "nvidia" ]; - # Enable touchpad support (enabled default in most desktopManager). - libinput.enable = true; + # Enable touchpad support (enabled default in most desktopManager). + synaptics.enable = true; + }; }; hardware = { -- cgit 1.4.1