enable obs virtual camera
sdksa
This commit is contained in:
parent
e77093d4a4
commit
87f9cd0b84
@ -295,6 +295,7 @@ into "Too many files open" errors.
|
||||
|
||||
#+begin_src nix
|
||||
security = {
|
||||
polkit.enable = true;
|
||||
rtkit.enable = true;
|
||||
sudo = {
|
||||
enable = true;
|
||||
|
||||
@ -27,7 +27,10 @@
|
||||
preLVM = true;
|
||||
};
|
||||
};
|
||||
extraModulePackages = [ ];
|
||||
extraModulePackages = with config.boot.kernelPackages; [ v4l2loopback ];
|
||||
extraModprobeConfig = ''
|
||||
options v4l2loopback devices=1 video_nr=1 card_label="OBS Cam" exclusive_caps=1
|
||||
'';
|
||||
initrd = {
|
||||
availableKernelModules =
|
||||
[ "xhci_pci" "ahci" "usbhid" "nvme" "usb_storage" "sd_mod" ];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user