diff --git a/modules/home-manager/programs/mpv.nix b/modules/home-manager/programs/mpv.nix index e19abe5..75b65fc 100644 --- a/modules/home-manager/programs/mpv.nix +++ b/modules/home-manager/programs/mpv.nix @@ -14,5 +14,10 @@ }; } + # Raspberry Pi 5 specific: Use OpenGL to avoid Vulkan memory issues + (lib.mkIf (nixosConfig != null && nixosConfig.networking.hostName == "pochita") { + programs.mpv.config.gpu-api = "opengl"; + }) + ]; }