diff options
author | makefu <github@syntax-fehler.de> | 2020-11-16 21:39:22 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2020-11-16 21:39:22 +0100 |
commit | edf61887abaee0741c7d5c4d5df59d13b3331c9a (patch) | |
tree | 8d1dd6a36a71a2de3db1956b7a09ba33ab7d35cd /makefu/2configs/hw/droidcam.nix | |
parent | 2408e07fd303eb74648c785b84cca3fa82a490f5 (diff) | |
parent | e824baec5ed0f42b6002632295ab241e9c7a80c7 (diff) |
Merge branch 'master' into 20.09
Diffstat (limited to 'makefu/2configs/hw/droidcam.nix')
-rw-r--r-- | makefu/2configs/hw/droidcam.nix | 7 |
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; }) + ]; +} |