1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-12-30 21:49:45 +01:00
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 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, disable KMS to fix backlight regulation:
"nomodeset"
2017-12-24 12:59:21 +01:00
];
};
# TODO: reverse compat
2017-12-24 12:59:21 +01:00
hardware.opengl.driSupport = false;
# TODO: reverse compat
2017-12-24 12:59:21 +01:00
services.xserver = {
defaultDepth = lib.mkDefault 24;
};
2017-12-24 12:59:21 +01:00
}