diff options
author | Yegor Timoshenko <yegortimoshenko@gmail.com> | 2017-12-24 23:21:05 +0000 |
---|---|---|
committer | Yegor Timoshenko <yegortimoshenko@gmail.com> | 2017-12-24 23:21:05 +0000 |
commit | 5407ba7a5242062edeaf3dbcd42d533b9ff96023 (patch) | |
tree | 796a83420dba49ebe0b5c81a52a436856fb3b03a /acer | |
parent | b63e0eb372b00d4cb5ca552ae9583bdb593f07dd (diff) |
treewide: abstract away common configs into common/
Diffstat (limited to 'acer')
-rw-r--r-- | acer/aspire/4810t/default.nix | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/acer/aspire/4810t/default.nix b/acer/aspire/4810t/default.nix index ed0e923..f21d630 100644 --- a/acer/aspire/4810t/default.nix +++ b/acer/aspire/4810t/default.nix @@ -1,6 +1,11 @@ { lib, ... }: { + imports = [ + ../../../common/cpu/intel + ../../../common/pc/laptop + ]; + boot = { initrd.kernelModules = [ "ata_piix" ]; kernelParams = [ @@ -8,6 +13,7 @@ "acpi=on" "vga=0x317" "video=vesafb:ywrap" + # Important, to disable Kernel Mode Setting for the graphics card # This will allow backlight regulation "nomodeset" @@ -17,13 +23,6 @@ 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"; - }; }; } |