nixpkgs-suyu/nixos/modules/profiles/graphical.nix
Tuomas Tynkkynen 9ac80c1f15 installation-cd-graphical: Enable the 'synaptics' touchpad driver
This is needed to get touchpad working in the installer on several
laptops. Tested on a Thinkpad X250.
2015-12-24 17:45:51 +02:00

15 lines
391 B
Nix

# This module defines a NixOS configuration that contains X11 and
# KDE 4. It's used by the graphical installation CD.
{ config, pkgs, ... }:
{
services.xserver = {
enable = true;
displayManager.kdm.enable = true;
desktopManager.kde4.enable = true;
synaptics.enable = true; # for touchpad support on many laptops
};
environment.systemPackages = [ pkgs.glxinfo ];
}