1
0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-06-28 15:38:32 +02:00
nixos-hardware/acer/aspire/4810t/default.nix
2017-12-24 11:59:21 +00:00

28 lines
538 B
Nix

{
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";
};
};
}