slight refactor/rocm packages
This commit is contained in:
parent
981d285606
commit
043ba21e98
4 changed files with 18 additions and 16 deletions
|
|
@ -10,10 +10,15 @@ in {
|
|||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
# opencl
|
||||
hardware.amdgpu.opencl.enable = true;
|
||||
nixpkgs.config.rocmSupport = true;
|
||||
|
||||
# oc
|
||||
hardware.amdgpu.overdrive.enable = cfg.overclock;
|
||||
services.lact.enable = cfg.overclock;
|
||||
|
||||
# top
|
||||
environment.systemPackages = with pkgs; [ amdgpu_top ];
|
||||
|
||||
# radv > amdvlk
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue