Files
nix-config/modules/graphical/obs.nix
2024-03-17 11:39:30 +01:00

17 lines
433 B
Nix

{ config, pkgs, ...}:
{
# borked in unstable branch
#boot = {
# kernelModules = ["v4l2loopback"]; # Autostart kernel modules on boot
# extraModulePackages = with config.boot.kernelPackages; [v4l2loopback]; # loopback module to make OBS virtual camera work
#};
environment.systemPackages = with pkgs; [
(wrapOBS {
plugins = with obs-studio-plugins; [
obs-pipewire-audio-capture
];
})
];
}