vanadium: enable rocm support system-wide

This commit is contained in:
Primrose 2025-05-16 21:48:05 +02:00
parent 5f404be7fb
commit 57b2dec680
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
2 changed files with 6 additions and 3 deletions

View file

@ -30,6 +30,12 @@ in
# #
{ {
nixpkgs = { nixpkgs = {
config = {
# For btop, ROCm support is needed for AMD GPU
# https://github.com/aristocratos/btop?tab=readme-ov-file#gpu-compatibility
rocmSupport = true;
};
hostPlatform = system; hostPlatform = system;
overlays = map import [ overlays = map import [
../overlays ../overlays

View file

@ -64,10 +64,7 @@ in {
password-store.enable = true; password-store.enable = true;
# ROCm support is needed for AMD GPU
# https://github.com/aristocratos/btop?tab=readme-ov-file#gpu-compatibility
btop.enable = true; btop.enable = true;
btop.package = pkgs.btop-rocm;
cmus.enable = true; cmus.enable = true;
ranger.enable = true; ranger.enable = true;