mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-04 18:19:40 +01:00
27 lines
538 B
Nix
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";
|
|
};
|
|
};
|
|
}
|