From a4e498badeb91164afe13f0087e50a80c4fb4641 Mon Sep 17 00:00:00 2001 From: makefu Date: Wed, 27 Jan 2021 23:05:29 +0100 Subject: [PATCH] ma hw/droidcam: add new required modules and packages --- makefu/2configs/hw/droidcam.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/makefu/2configs/hw/droidcam.nix b/makefu/2configs/hw/droidcam.nix index c638123bb..adc0aa379 100644 --- a/makefu/2configs/hw/droidcam.nix +++ b/makefu/2configs/hw/droidcam.nix @@ -1,7 +1,9 @@ -{ pkgs, config, ... }: +{ pkgs, config, ... }: { boot.extraModprobeConfig = "options v4l2loopback_dc width=640 height=480"; boot.extraModulePackages = [ (pkgs.callPackage ../../5pkgs/v4l2loopback-dc { kernel = config.boot.kernelPackages.kernel; }) ]; + boot.initrd.availableKernelModules = [ "v4l2loopback-dc" ]; + users.users.makefu.packages = [ pkgs.droidcam ]; }