about summary refs log tree commit diff
path: root/hosts/phobos/hardware.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/phobos/hardware.nix')
-rw-r--r--hosts/phobos/hardware.nix10
1 files changed, 6 insertions, 4 deletions
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 = {