summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/hw/droidcam.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2020-11-16 21:37:03 +0100
committermakefu <github@syntax-fehler.de>2020-11-16 21:37:03 +0100
commitc743b9e53c4dfe2a39409c8bd01f373ce86b8e06 (patch)
treec860a4c10d91ddc8a1578c44ee40519475e30810 /makefu/2configs/hw/droidcam.nix
parenta1ab1cde34c13cc0a1c78eee28835e22cdcc1794 (diff)
ma pkgs.droidcam: init software + kernel module
Diffstat (limited to 'makefu/2configs/hw/droidcam.nix')
-rw-r--r--makefu/2configs/hw/droidcam.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/makefu/2configs/hw/droidcam.nix b/makefu/2configs/hw/droidcam.nix
new file mode 100644
index 000000000..c638123bb
--- /dev/null
+++ b/makefu/2configs/hw/droidcam.nix
@@ -0,0 +1,7 @@
+{ pkgs, config, ... }:
+{
+ boot.extraModprobeConfig = "options v4l2loopback_dc width=640 height=480";
+ boot.extraModulePackages = [
+ (pkgs.callPackage ../../5pkgs/v4l2loopback-dc { kernel = config.boot.kernelPackages.kernel; })
+ ];
+}