fix: won't boot on amdgpu

must be required linux firmware blobs
This commit is contained in:
Noah Masur 2023-04-16 19:04:57 -04:00
parent 713b835f70
commit f67a44fa87

View File

@ -24,6 +24,7 @@ nixpkgs.lib.nixosSystem {
boot.initrd.kernelModules = [ "amdgpu" ]; boot.initrd.kernelModules = [ "amdgpu" ];
boot.kernelModules = [ "kvm-amd" ]; boot.kernelModules = [ "kvm-amd" ];
services.xserver.videoDrivers = [ "amdgpu" ]; services.xserver.videoDrivers = [ "amdgpu" ];
hardware.enableRedistributableFirmware = true;
powerManagement.cpuFreqGovernor = "performance"; powerManagement.cpuFreqGovernor = "performance";
hardware.cpu.amd.updateMicrocode = true; hardware.cpu.amd.updateMicrocode = true;
hardware.fancontrol.enable = true; hardware.fancontrol.enable = true;