feat: add environment variables for ROCm and libva
Included HSA_OVERRIDE_GFX_VERSION for ROCm acceleration. Added LIBVA_DRIVER_NAME and commented NIXOS_OZONE_WL to environment.sessionVariables settings.
This commit is contained in:
parent
e094566801
commit
08aae1a581
2 changed files with 11 additions and 8 deletions
|
@ -92,14 +92,8 @@ in
|
|||
clr
|
||||
];
|
||||
};
|
||||
in [
|
||||
"L+ /opt/rocm - - - - ${rocmEnv}"
|
||||
];
|
||||
|
||||
environment.sessionVariables = {
|
||||
# LIBVA_DRIVER_NAME = "iHD";
|
||||
# NIXOS_OZONE_WL = "1";
|
||||
};
|
||||
in
|
||||
[ "L+ /opt/rocm - - - - ${rocmEnv}" ];
|
||||
|
||||
metacfg.home.configFile."mpv/mpv.conf".text = ''
|
||||
hwdec=auto-safe
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue