2020-08-29 09:36:27 +00:00
|
|
|
{ lib, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
../../../common/cpu/intel
|
|
|
|
../../../common/pc/laptop
|
|
|
|
../../../common/pc/laptop/ssd
|
|
|
|
];
|
|
|
|
|
|
|
|
boot.kernelParams = [
|
2021-05-01 15:45:25 +00:00
|
|
|
# fix lspci hanging with nouveau
|
|
|
|
# source https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1803179/comments/149
|
2020-08-29 09:36:27 +00:00
|
|
|
"acpi_rev_override=1"
|
|
|
|
"acpi_osi=Linux"
|
|
|
|
"nouveau.modeset=0"
|
|
|
|
"pcie_aspm=force"
|
|
|
|
"drm.vblankoffdelay=1"
|
|
|
|
"nouveau.runpm=0"
|
|
|
|
"mem_sleep_default=deep"
|
2021-05-01 15:45:25 +00:00
|
|
|
# fix flicker
|
|
|
|
# source https://wiki.archlinux.org/index.php/Intel_graphics#Screen_flickering
|
|
|
|
"i915.enable_psr=0"
|
2020-08-29 09:36:27 +00:00
|
|
|
];
|
|
|
|
}
|