fixed davinci

This commit is contained in:
ari committed 2026-10-11 00:17:06 -04:00
1 parent 42b8cf4e4f
commit 52c2aac9df
1 file changed
+14 -1
+14 -1
View File
@@ -26,6 +26,18 @@ let
kubectl
]
);
# Resolve bundles its own Qt5, which has no wayland platform plugin. The
# Hyprland session exports QT_QPA_PLATFORM=wayland globally
# (configs/fwbook/hypr/conf/env.lua), so Resolve aborts at startup. Force
# xcb — Resolve is X11-only and runs under XWayland anyway.
davinci-resolve-wrapped = pkgs.symlinkJoin {
name = "davinci-resolve";
paths = [ pkgs.davinci-resolve ];
nativeBuildInputs = [ pkgs.makeWrapper ];
postBuild = ''
wrapProgram $out/bin/davinci-resolve --set QT_QPA_PLATFORM xcb
'';
};
in
{
# The shell resolves everything through OMARCHY_PATH.
@@ -89,7 +101,7 @@ in
wineWow64Packages.waylandFull
obs-studio
davinci-resolve
davinci-resolve-wrapped
grim
slurp
wl-clipboard
@@ -166,5 +178,6 @@ in
skygqts
hermenix
config.services.hyprland-headless-stream.package
]);
}