feat: OBS Studio virtual camera

This commit is contained in:
DACHXY 2025-01-23 23:34:10 +08:00
parent d5fcc2cf5f
commit 24afd66d64
5 changed files with 20 additions and 27 deletions

View file

@ -46,9 +46,15 @@ in
# Enable bluetooth
boot = {
extraModulePackages = with config.boot.kernelPackages; [ xpadneo ];
extraModulePackages = with config.boot.kernelPackages; [
xpadneo
v4l2loopback # OBS Virtual Camera
];
extraModprobeConfig = ''
options bluetooth disable_ertm=Y
options v4l2loopback devices=1 video_nr=1 card_label="OBS Cam" exclusive_caps=1
'';
};
security.polkit.enable = true;
}