diff --git a/home/games/obs/default.nix b/home/games/obs/default.nix index 9442e36a..e8d31688 100644 --- a/home/games/obs/default.nix +++ b/home/games/obs/default.nix @@ -5,6 +5,7 @@ plugins = with pkgs.obs-studio-plugins; [ wlrobs obs-vkcapture + obs-backgroundremoval obs-pipewire-audio-capture obs-gstreamer input-overlay diff --git a/hosts/Vanguard/configuration.nix b/hosts/Vanguard/configuration.nix index 8e749cbc..1a4017b4 100644 --- a/hosts/Vanguard/configuration.nix +++ b/hosts/Vanguard/configuration.nix @@ -1 +1,7 @@ -{ ... }: { system.autoUpgrade.allowReboot = false; } +{ config, ... }: { + system.autoUpgrade.allowReboot = false; + boot.extraModulePackages = with config.boot.kernelPackages; [ v4l2loopback ]; + boot.extraModprobeConfig = '' + options v4l2loopback devices=1 video_nr=1 card_label="OBS Cam" exclusive_caps=1 + ''; +} diff --git a/system/desktop.nix b/system/desktop.nix index a710acfb..f0f47284 100644 --- a/system/desktop.nix +++ b/system/desktop.nix @@ -7,7 +7,10 @@ glib gsettings-desktop-schemas ]; - security.rtkit.enable = true; + security = { + polkit.enable = true; + rtkit.enable = true; + }; sound.enable = true; hardware = { pulseaudio.enable = false;