nixos-hardware/acer/aspire/4810t/default.nix

30 lines
614 B
Nix
Raw Normal View History

{ lib, ... }:
{
2017-12-24 11:59:21 +00:00
boot = {
initrd.kernelModules = [ "ata_piix" ];
kernelParams = [
"apm=on"
"acpi=on"
2017-12-24 11:59:21 +00:00
"vga=0x317"
"video=vesafb:ywrap"
# Important, to disable Kernel Mode Setting for the graphics card
# This will allow backlight regulation
"nomodeset"
2017-12-24 11:59:21 +00:00
];
};
hardware.opengl.driSupport = false;
2017-12-24 11:59:21 +00:00
services.xserver = {
enable = lib.mkDefault true;
defaultDepth = lib.mkDefault 24;
videoDrivers = [ "intel" ];
autorun = lib.mkDefault true;
2017-12-24 11:59:21 +00:00
synaptics = {
enable = lib.mkDefault true;
2017-12-24 11:59:21 +00:00
dev = "/dev/input/event8";
};
};
2017-12-24 11:59:21 +00:00
}