hardware: Add microcode updates
This commit is contained in:
5
modules/hardware/amd.nix
Normal file
5
modules/hardware/amd.nix
Normal file
@@ -0,0 +1,5 @@
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
hardware.cpu.amd.updateMicrocode = true;
|
||||
}
|
||||
@@ -3,7 +3,11 @@
|
||||
}:
|
||||
|
||||
{
|
||||
hardware.opengl.extraPackages = with pkgs; [ vaapiIntel intel-media-driver ];
|
||||
hardware = {
|
||||
cpu.intel.updateMicrocode = true;
|
||||
# NOTE: Assuming each Intel CPU has integrated graphics
|
||||
opengl.extraPackages = with pkgs; [ vaapiIntel intel-media-driver ];
|
||||
};
|
||||
# TODO: Remove?
|
||||
services.xserver.videoDrivers = [ "modesetting" "fbdev" ];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user