1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-12-24 02:29:44 +01:00
nixos-hardware/acer/aspire/4810t/default.nix
Yegor Timoshenko 3743ae21f5
treewide: only ever set unmergable options via lib.mkDefault
Also extract documentation from raspberry-pi/2/ profile.
2017-12-24 15:13:25 +00:00

29 lines
614 B
Nix

{ lib, ... }:
{
boot = {
initrd.kernelModules = [ "ata_piix" ];
kernelParams = [
"apm=on"
"acpi=on"
"vga=0x317"
"video=vesafb:ywrap"
# Important, to disable Kernel Mode Setting for the graphics card
# This will allow backlight regulation
"nomodeset"
];
};
hardware.opengl.driSupport = false;
services.xserver = {
enable = lib.mkDefault true;
defaultDepth = lib.mkDefault 24;
videoDrivers = [ "intel" ];
autorun = lib.mkDefault true;
synaptics = {
enable = lib.mkDefault true;
dev = "/dev/input/event8";
};
};
}