tvl-depot/ops/nixos/v4l2loopback.nix

13 lines
242 B
Nix
Raw Normal View History

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