mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-06 01:38:06 +00:00
[Hardware/AMD] enable ROCM support in apps if developer mode is activated
This commit is contained in:
parent
4149d4a8a2
commit
8a0389c350
1 changed files with 2 additions and 0 deletions
|
|
@ -28,6 +28,8 @@ in {
|
||||||
]
|
]
|
||||||
;
|
;
|
||||||
|
|
||||||
|
nixpkgs.config.rocmSupport = mkDefault devCfg.enable;
|
||||||
|
|
||||||
services.xserver.videoDrivers = []
|
services.xserver.videoDrivers = []
|
||||||
++ optional cfg.useProprietary "amdgpu-pro"
|
++ optional cfg.useProprietary "amdgpu-pro"
|
||||||
++ [
|
++ [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue