summaryrefslogtreecommitdiffstats
path: root/acer/aspire/4810t/default.nix
blob: b984623347da626bada946556585350e4e688553 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
  boot = {
    initrd.kernelModules = [ "ata_piix" ];
    kernelParams = [
      "apm=on"
      "acpi=on"
      "vga=0x317"
      "video=vesafb:ywrap"
      # Important, to disable Kernel Mode Setting for the graphics card
      # This will allow backlight regulation
      "nomodeset"
    ];
  };

  hardware.opengl.driSupport = false;

  services.xserver = {
    enable = true;
    defaultDepth = 24;
    videoDriver = "intel";
    autorun = true;
    synaptics = {
      enable = true;
      dev = "/dev/input/event8";
    };
  };
}