1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-12-24 18:49:45 +01:00
nixos-hardware/acer/aspire/4810t/default.nix

30 lines
614 B
Nix
Raw Normal View History

{ lib, ... }:
{
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, to disable Kernel Mode Setting for the graphics card
# This will allow backlight regulation
"nomodeset"
2017-12-24 12:59:21 +01:00
];
};
hardware.opengl.driSupport = false;
2017-12-24 12:59:21 +01:00
services.xserver = {
enable = lib.mkDefault true;
defaultDepth = lib.mkDefault 24;
videoDrivers = [ "intel" ];
autorun = lib.mkDefault true;
2017-12-24 12:59:21 +01:00
synaptics = {
enable = lib.mkDefault true;
2017-12-24 12:59:21 +01:00
dev = "/dev/input/event8";
};
};
2017-12-24 12:59:21 +01:00
}