ma hw/droidcam: add new required modules and packages
This commit is contained in:
parent
4c9a1d5666
commit
a4e498bade
@ -1,7 +1,9 @@
|
|||||||
{ pkgs, config, ... }:
|
{ pkgs, config, ... }:
|
||||||
{
|
{
|
||||||
boot.extraModprobeConfig = "options v4l2loopback_dc width=640 height=480";
|
boot.extraModprobeConfig = "options v4l2loopback_dc width=640 height=480";
|
||||||
boot.extraModulePackages = [
|
boot.extraModulePackages = [
|
||||||
(pkgs.callPackage ../../5pkgs/v4l2loopback-dc { kernel = config.boot.kernelPackages.kernel; })
|
(pkgs.callPackage ../../5pkgs/v4l2loopback-dc { kernel = config.boot.kernelPackages.kernel; })
|
||||||
];
|
];
|
||||||
|
boot.initrd.availableKernelModules = [ "v4l2loopback-dc" ];
|
||||||
|
users.users.makefu.packages = [ pkgs.droidcam ];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user