commit 5dd698509d6260d0c159bd4bb317a8b88fc452db
parent 01daff2ae7e878c6113de91d3e2d53873fbc72c8
Author: Vincent Demeester <vincent@sbr.pm>
Date: Tue, 10 Nov 2020 22:37:45 +0100
system/naruhodo: add v4l2loopback
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/systems/naruhodo.nix b/systems/naruhodo.nix
@@ -51,7 +51,11 @@ in
boot = {
tmpOnTmpfs = true;
plymouth.enable = true;
+ extraModulePackages = [ config.boot.kernelPackages.v4l2loopback ];
kernelModules = [ "v4l2loopback" ];
+ extraModprobeConfig = ''
+ options v4l2loopback exclusive_caps=1
+ '';
};
services.hardware.bolt.enable = true;