diff --git a/modules/nixos/services/gui/default.nix b/modules/nixos/services/gui/default.nix index f5ce0df..5390a2a 100644 --- a/modules/nixos/services/gui/default.nix +++ b/modules/nixos/services/gui/default.nix @@ -81,8 +81,23 @@ in amdvlk ]; }; + + systemd.tmpfiles.rules = + let + rocmEnv = pkgs.symlinkJoin { + name = "rocm-combined"; + paths = with pkgs.rocmPackages; [ + rocblas + hipblas + clr + ]; + }; + in [ + "L+ /opt/rocm - - - - ${rocmEnv}" + ]; + environment.sessionVariables = { - LIBVA_DRIVER_NAME = "iHD"; + # LIBVA_DRIVER_NAME = "iHD"; # NIXOS_OZONE_WL = "1"; };