Skip to content

Commit

Permalink
Add ucodenix for up to date AMD microcodes
Browse files Browse the repository at this point in the history
  • Loading branch information
arunoruto committed Nov 12, 2024
1 parent 45c7792 commit b67516f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion modules/nixos/system/amd/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@
pkgs,
config,
lib,
inputs,
...
}:
{
imports = [
inputs.ucodenix.nixosModules.default

./rocm.nix
./zluda.nix
];
Expand All @@ -18,7 +21,10 @@
zluda.enable = lib.mkDefault false;
};

services.xserver.videoDrivers = [ "amdgpu" ];
services = {
xserver.videoDrivers = [ "amdgpu" ];
ucodenix.enable = true;
};

environment.systemPackages = with pkgs; [
amdgpu_top
Expand Down

0 comments on commit b67516f

Please sign in to comment.