about summary refs log tree commit diff
path: root/ops/modules/v4l2loopback.nix
{ config, lib, pkgs, ... }:

{
  boot = {
    extraModulePackages = [ config.boot.kernelPackages.v4l2loopback ];
    kernelModules = [ "v4l2loopback" ];
    extraModprobeConfig = ''
      options v4l2loopback exclusive_caps=1
    '';
  };
}