mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-15 17:45:12 -05:00
25 lines
455 B
Nix
Executable file
25 lines
455 B
Nix
Executable file
{ pkgs, ... }:
|
|
{
|
|
hardware = {
|
|
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"
|
|
];
|
|
}
|