mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-04 18:19:40 +01:00
24 lines
422 B
Nix
24 lines
422 B
Nix
{ lib, pkgs, ... }:
|
|
|
|
let
|
|
inherit (lib) mkDefault;
|
|
in
|
|
|
|
{
|
|
hardware.trackpoint = mkDefault {
|
|
enable = true;
|
|
emulateWheel = true;
|
|
};
|
|
|
|
hardware.enableRedistributableFirmware = mkDefault true;
|
|
services.tlp.enable = true;
|
|
|
|
services.xserver = mkDefault {
|
|
synaptics.enable = false;
|
|
libinput.enable = true;
|
|
};
|
|
|
|
environment.systemPackages = [ pkgs.acpi ];
|
|
|
|
sound.enableMediaKeys = mkDefault true;
|
|
}
|