diff options
author | tv <tv@krebsco.de> | 2021-02-18 20:25:47 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2021-02-18 20:25:47 +0100 |
commit | f9bc618fada82326ed371b131eaed34d21626ae9 (patch) | |
tree | c48156ed3dc16594907c3744b14fcdafd2409206 /makefu/2configs/hw | |
parent | 9365aff352d99b7506bafbef6682de7bfb00df27 (diff) | |
parent | 8b7477926d0b7c1ac3d92d07e6934f9e593ea9ff (diff) |
Merge remote-tracking branch 'prism/master'
Diffstat (limited to 'makefu/2configs/hw')
-rw-r--r-- | makefu/2configs/hw/droidcam.nix | 4 |
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 ]; } |