nixos-hardware/acer/aspire/4810t/default.nix
2017-12-25 22:07:47 +00:00

30 lines
496 B
Nix

{ lib, ... }:
{
imports = [
../../../common/cpu/intel
../../../common/pc/laptop
];
boot = {
initrd.kernelModules = [ "ata_piix" ];
kernelParams = [
"apm=on"
"acpi=on"
"vga=0x317"
"video=vesafb:ywrap"
# Important, disable KMS to fix backlight regulation:
"nomodeset"
];
};
# TODO: reverse compat
hardware.opengl.driSupport = false;
# TODO: reverse compat
services.xserver = {
defaultDepth = lib.mkDefault 24;
};
}