The relevant nix configuration:
# OBS virtual camera
boot.extraModulePackages = with config.boot.kernelPackages; [
v4l2loopback
];
boot.extraModprobeConfig = ''
options v4l2loopback devices=1 video_nr=1 card_label="OBS Virtual Cam" exclusive_caps=1
'';
security.polkit.enable = true;
environment.systemPackages = with pkgs; [
(pkgs.wrapOBS {
plugins = with pkgs.obs-studio-plugins; [
wlrobs
obs-backgroundremoval
obs-pipewire-audio-capture
];
})
intel-media-sdk
Please notice that intel-media-sdk
is here according to this entry here on the obs forums