Fix boot resolution

This commit is contained in:
Leonardo Eugênio 2022-12-21 23:23:16 -03:00
parent 457d29aba3
commit 0ac270bc2b

View file

@ -9,10 +9,13 @@ in {
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
boot.initrd.availableKernelModules =
[ "nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.initrd.kernelModules = [ "amdgpu" ];
boot.kernelModules = [
"kvm-amd"
# "amdgpu"
"amdgpu"
];
boot.kernelParams = [
"video=DP-1:1920x1080@144"
];
hardware.opengl.driSupport = true;