1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-12-18 23:59:45 +01:00
nixos-hardware/acer/aspire/4810t/default.nix

28 lines
538 B
Nix
Raw Normal View History

{
2017-12-24 12:59:21 +01:00
boot = {
initrd.kernelModules = [ "ata_piix" ];
kernelParams = [
"apm=on"
"acpi=on"
2017-12-24 12:59:21 +01: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 12:59:21 +01:00
];
};
hardware.opengl.driSupport = false;
2017-12-24 12:59:21 +01:00
services.xserver = {
enable = true;
defaultDepth = 24;
videoDriver = "intel";
autorun = true;
synaptics = {
enable = true;
dev = "/dev/input/event8";
};
};
2017-12-24 12:59:21 +01:00
}