1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-12-29 13:09:45 +01:00
nixos-hardware/acer/aspire/4810t/default.nix
2017-12-24 11:59:21 +00:00

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