[Hardware/AMD] enable ROCM support in apps if developer mode is activated

This commit is contained in:
Antoine Viallon 2023-12-26 17:55:55 +01:00
parent 4149d4a8a2
commit 8a0389c350
Signed by: aviallon
GPG key ID: 186FC35EDEB25716

View file

@ -28,6 +28,8 @@ in {
]
;
nixpkgs.config.rocmSupport = mkDefault devCfg.enable;
services.xserver.videoDrivers = []
++ optional cfg.useProprietary "amdgpu-pro"
++ [