feat: config obs-studio with plugins

This commit is contained in:
steveej 2024-05-02 09:49:37 +02:00
parent 4b5ddd8934
commit 8c067eb449
2 changed files with 19 additions and 7 deletions

View file

@ -33,6 +33,8 @@ in {
../programs/libreoffice.nix ../programs/libreoffice.nix
../programs/neovim.nix ../programs/neovim.nix
../programs/vscode ../programs/vscode
../programs/obs-studio.nix
]; ];
home.sessionVariables.HM_CONFIG = "graphical-fullblown"; home.sessionVariables.HM_CONFIG = "graphical-fullblown";
@ -208,7 +210,6 @@ in {
# shutter # shutter
# kazam # doesn't start # kazam # doesn't start
# xvidcap # doesn't keep the recording rectangle # xvidcap # doesn't keep the recording rectangle
# obs-studio
# shotcut # shotcut
# openshot-qt # openshot-qt
# introduces python: screenkey # introduces python: screenkey

View file

@ -1,10 +1,21 @@
{pkgs, ...}: { {
pkgs,
lib,
...
}: {
programs.obs-studio = { programs.obs-studio = {
enable = true; enable = true;
plugins = with pkgs.obs-studio-plugins; [ plugins =
wlrobs builtins.map (plugin: (plugin.overrideAttrs (attrs: {
meta = lib.mkMerge [
{inherit (attrs) meta;}
{meta.platforms = ["aarch64-linux"];}
];
})))
(with pkgs.obs-studio-plugins; [
# wlrobs
obs-backgroundremoval obs-backgroundremoval
obs-pipewire-audio-capture obs-pipewire-audio-capture
]; ]);
}; };
} }