From 337e3767c3a10ed2a8ef796e66c9d6d3ad2d0739 Mon Sep 17 00:00:00 2001 From: osbm Date: Sun, 30 Nov 2025 17:52:44 +0300 Subject: [PATCH] test this shit --- modules/home-manager/programs/mpv.nix | 5 +++++ 1 file changed, 5 insertions(+) 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"; + }) + ]; }