nixos-hardware/acer/aspire/4810t/default.nix

30 lines
496 B
Nix
Raw Normal View History

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