mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-15 09:35:12 -05:00
29 lines
544 B
Nix
Executable file
29 lines
544 B
Nix
Executable file
{ pkgs, ... }:
|
|
{
|
|
hardware = {
|
|
amdgpu.overdrive = {
|
|
enable = true;
|
|
ppfeaturemask = "0xffffffff";
|
|
};
|
|
graphics = {
|
|
enable = true;
|
|
enable32Bit = true;
|
|
extraPackages = builtins.attrValues {
|
|
inherit (pkgs)
|
|
amdvlk
|
|
;
|
|
inherit (pkgs.rocmPackages.clr)
|
|
icd
|
|
;
|
|
};
|
|
extraPackages32 = builtins.attrValues {
|
|
inherit (pkgs.driversi686Linux)
|
|
amdvlk
|
|
;
|
|
};
|
|
};
|
|
};
|
|
boot.initrd.kernelModules = [
|
|
"amdgpu"
|
|
];
|
|
}
|