summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/hw/droidcam.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2021-01-27 23:05:29 +0100
committermakefu <github@syntax-fehler.de>2021-01-27 23:05:29 +0100
commita4e498badeb91164afe13f0087e50a80c4fb4641 (patch)
tree8b942883c98325ce408ce7a8e76c1c04f3206581 /makefu/2configs/hw/droidcam.nix
parent4c9a1d5666de6eede96cba1c10d6815f09730441 (diff)
ma hw/droidcam: add new required modules and packages
Diffstat (limited to 'makefu/2configs/hw/droidcam.nix')
-rw-r--r--makefu/2configs/hw/droidcam.nix4
1 files changed, 3 insertions, 1 deletions
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 ];
}