Add v4l2
This commit is contained in:
parent
588bc7e699
commit
569b9e7785
1 changed files with 12 additions and 0 deletions
|
|
@ -39,6 +39,18 @@ with lib;
|
|||
|
||||
# boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||
|
||||
boot = {
|
||||
extraModulePackages = [ config.boot.kernelPackages.v4l2loopback ];
|
||||
extraModprobeConfig = ''
|
||||
options v4l2loopback devices=1 video_nr=10 card_label="custom_cam" exclusive_caps=1
|
||||
'';
|
||||
|
||||
kernelModules = [
|
||||
"v4l2loopback"
|
||||
];
|
||||
};
|
||||
|
||||
|
||||
boot.kernelPackages = pkgs.linuxPackagesFor (
|
||||
pkgs.linux_latest.override {
|
||||
argsOverride = rec {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue