From 4ae4aad98baea40a643e276a7b2950a40b211eac Mon Sep 17 00:00:00 2001 From: Erwin Boskma Date: Tue, 21 Mar 2023 17:22:18 +0100 Subject: [PATCH] obs: Add plugins, open port for remote --- home-manager/modules/obs-studio/default.nix | 11 ++++++++--- users/erwin/home.nix | 4 ++++ 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/home-manager/modules/obs-studio/default.nix b/home-manager/modules/obs-studio/default.nix index 7dd73ee..43565bf 100644 --- a/home-manager/modules/obs-studio/default.nix +++ b/home-manager/modules/obs-studio/default.nix @@ -13,10 +13,15 @@ in programs.obs-studio = { enable = true; plugins = [ - pkgs.obs-studio-plugins.wlrobs - # pkgs.obs-studio-plugins.obs-gstreamer pkgs.obs-backgroundremoval - ]; + ] + ++ (with pkgs.obs-studio-plugins; [ + wlrobs + obs-vaapi + obs-gstreamer + obs-pipewire-audio-capture + obs-vkcapture + ]); }; }; } diff --git a/users/erwin/home.nix b/users/erwin/home.nix index 8d91513..25300f9 100644 --- a/users/erwin/home.nix +++ b/users/erwin/home.nix @@ -247,6 +247,10 @@ in ] ++ (map (mod: (../../home-manager/modules + "/${mod}")) (builtins.attrNames (builtins.readDir ../../home-manager/modules))); }; + + # OBS control websocket + networking.firewall.allowedTCPPorts = [ 4455 ]; + programs.steam.enable = true; programs.bandwhich.enable = true; programs.noisetorch.enable = true;