2017-12-24 15:13:25 +00:00
|
|
|
{ lib, ... }:
|
|
|
|
|
2016-02-26 10:59:36 +00:00
|
|
|
{
|
2017-12-24 23:21:05 +00:00
|
|
|
imports = [
|
|
|
|
../../../common/cpu/intel
|
|
|
|
../../../common/pc/laptop
|
|
|
|
];
|
|
|
|
|
2017-12-24 11:59:21 +00:00
|
|
|
boot = {
|
|
|
|
initrd.kernelModules = [ "ata_piix" ];
|
|
|
|
kernelParams = [
|
2016-02-26 10:59:36 +00:00
|
|
|
"apm=on"
|
|
|
|
"acpi=on"
|
2017-12-24 11:59:21 +00:00
|
|
|
"vga=0x317"
|
2016-02-26 10:59:36 +00:00
|
|
|
"video=vesafb:ywrap"
|
2017-12-24 23:21:05 +00:00
|
|
|
|
2016-02-26 10:59:36 +00:00
|
|
|
# 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;
|
2016-02-26 10:59:36 +00:00
|
|
|
|
2017-12-24 11:59:21 +00:00
|
|
|
services.xserver = {
|
2017-12-24 15:13:25 +00:00
|
|
|
defaultDepth = lib.mkDefault 24;
|
2016-02-26 10:59:36 +00:00
|
|
|
};
|
2017-12-24 11:59:21 +00:00
|
|
|
}
|