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

View file

@ -1,10 +1,21 @@
{pkgs, ...}: {
{
pkgs,
lib,
...
}: {
programs.obs-studio = {
enable = true;
plugins = with pkgs.obs-studio-plugins; [
wlrobs
plugins =
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-pipewire-audio-capture
];
]);
};
}