about summary refs log blame commit diff
path: root/ops/modules/v4l2loopback.nix
blob: 636b2ff6cf273d5667ea0b742fcb2ca9f1279af3 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                                                      
{ config, lib, pkgs, ... }:

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