diff options
author | devhell <devhell@mailfresser.de> | 2019-08-25 20:16:33 +0100 |
---|---|---|
committer | devhell <devhell@mailfresser.de> | 2019-08-25 20:16:33 +0100 |
commit | b52a18ca4a1b27a2fb61b15e2d0e1d467c810ade (patch) | |
tree | bc455198d925ee02de2740532bac3680d3b78ab3 | |
parent | 4a89615866ed4c20e8dfee76ce304389c5a8e252 (diff) |
{machines,modules}/devhell: Split updateMicrocode
Most machines are Intel, but not all, therefore we must now apply CPU microcode updates to different manufacturers explicitly. Something that needs DRYing, yet again.
-rw-r--r-- | machines/devhell/eir.nix | 1 | ||||
-rw-r--r-- | machines/devhell/gunnr.nix | 1 | ||||
-rw-r--r-- | machines/devhell/hildr.nix | 1 | ||||
-rw-r--r-- | machines/devhell/sigrun.nix | 1 | ||||
-rw-r--r-- | modules/user/devhell/profiles/base.nix | 1 |
5 files changed, 4 insertions, 1 deletions
diff --git a/machines/devhell/eir.nix b/machines/devhell/eir.nix index b6ebbba8..a76be6e5 100644 --- a/machines/devhell/eir.nix +++ b/machines/devhell/eir.nix @@ -27,6 +27,7 @@ }; hardware = { + cpu.intel.updateMicrocode = true; opengl = { enable = true; extraPackages = [ pkgs.libvdpau-va-gl pkgs.vaapiVdpau pkgs.vaapiIntel ]; diff --git a/machines/devhell/gunnr.nix b/machines/devhell/gunnr.nix index 7108a137..eacd0afe 100644 --- a/machines/devhell/gunnr.nix +++ b/machines/devhell/gunnr.nix @@ -31,6 +31,7 @@ }; hardware = { + cpu.amd.updateMicrocode = true; opengl = { enable = true; extraPackages = [ pkgs.libvdpau-va-gl pkgs.vaapiVdpau ]; diff --git a/machines/devhell/hildr.nix b/machines/devhell/hildr.nix index a53bf7fa..9230ca7b 100644 --- a/machines/devhell/hildr.nix +++ b/machines/devhell/hildr.nix @@ -24,6 +24,7 @@ }; hardware = { + cpu.intel.updateMicrocode = true; opengl = { enable = true; extraPackages = [ pkgs.libvdpau-va-gl pkgs.vaapiVdpau pkgs.vaapiIntel ]; diff --git a/machines/devhell/sigrun.nix b/machines/devhell/sigrun.nix index fa9d5597..6aa7eb6e 100644 --- a/machines/devhell/sigrun.nix +++ b/machines/devhell/sigrun.nix @@ -28,6 +28,7 @@ }; hardware = { + cpu.intel.updateMicrocode = true; opengl = { extraPackages = [ pkgs.vaapiVdpau ]; }; diff --git a/modules/user/devhell/profiles/base.nix b/modules/user/devhell/profiles/base.nix index ae7b5e74..cba7f19e 100644 --- a/modules/user/devhell/profiles/base.nix +++ b/modules/user/devhell/profiles/base.nix @@ -33,7 +33,6 @@ in { hardware = { enableAllFirmware = true; - cpu.intel.updateMicrocode = true; opengl = { s3tcSupport = true; driSupport32Bit = true; |