From 79ab86277818f16020c7fb706696e2f4f174bdc7 Mon Sep 17 00:00:00 2001 From: "Alexandre Cavalheiro S. Tiago da Silva" Date: Sun, 6 Apr 2025 05:37:34 -0300 Subject: [PATCH] feat(shared/hm): add vkcapture obs plugin and use it in game launch script --- shared/home-manager/dotfiles/obs-studio.nix | 6 ++++++ shared/home-manager/scripts/games/launch.sh | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/shared/home-manager/dotfiles/obs-studio.nix b/shared/home-manager/dotfiles/obs-studio.nix index 055ef5c..1a287af 100644 --- a/shared/home-manager/dotfiles/obs-studio.nix +++ b/shared/home-manager/dotfiles/obs-studio.nix @@ -6,7 +6,13 @@ plugins = with pkgs.obs-studio-plugins; [ input-overlay obs-backgroundremoval + obs-gstreamer obs-pipewire-audio-capture + obs-vkcapture ]; }; + + home.packages = [ + pkgs.obs-studio-plugins.obs-vkcapture + ]; } diff --git a/shared/home-manager/scripts/games/launch.sh b/shared/home-manager/scripts/games/launch.sh index c738bb9..0754dfa 100755 --- a/shared/home-manager/scripts/games/launch.sh +++ b/shared/home-manager/scripts/games/launch.sh @@ -4,4 +4,4 @@ # but there might be useful ones in the future. # https://docs.mesa3d.org/envvars.html -mangohud gamemoderun "$@" +obs-gamecapture mangohud gamemoderun "$@"