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 "$@"