fix virtual cam
This commit is contained in:
parent
48a177830e
commit
60a96090db
1 changed files with 10 additions and 10 deletions
|
|
@ -36,6 +36,16 @@
|
||||||
"udev.log_priority=3"
|
"udev.log_priority=3"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
kernelModules = [
|
||||||
|
"v4l2loopback"
|
||||||
|
"nct6775"
|
||||||
|
"k10temp"
|
||||||
|
];
|
||||||
|
|
||||||
|
extraModprobeConfig = ''
|
||||||
|
options v4l2loopback devices=1 video_nr=2 card_label="OBS Cam" exclusive_caps=1
|
||||||
|
'';
|
||||||
|
|
||||||
loader = {
|
loader = {
|
||||||
timeout = lib.mkDefault 0;
|
timeout = lib.mkDefault 0;
|
||||||
efi.canTouchEfiVariables = true;
|
efi.canTouchEfiVariables = true;
|
||||||
|
|
@ -319,16 +329,6 @@
|
||||||
setSocketVariable = true;
|
setSocketVariable = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
boot.kernelModules = [
|
|
||||||
"v4l2loopback"
|
|
||||||
"nct6775"
|
|
||||||
"k10temp"
|
|
||||||
];
|
|
||||||
|
|
||||||
boot.extraModprobeConfig = ''
|
|
||||||
options v4l2loopback devices=1 video_nr=1 card_label="OBS Cam" exclusive_caps=1
|
|
||||||
'';
|
|
||||||
security = {
|
security = {
|
||||||
polkit.enable = true;
|
polkit.enable = true;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue