mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-23 11:29:42 +01:00
26 lines
432 B
Nix
26 lines
432 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
|
|
services.xserver = {
|
|
defaultDepth = lib.mkDefault 24;
|
|
};
|
|
}
|