feat(gs/system): Install obs v4l2loopback

Change-Id: I62db4951969a0978e929f91d62382b1560d1f89c
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1348
Reviewed-by: glittershark <grfn@gws.fyi>
Tested-by: BuildkiteCI
This commit is contained in:
Griffin Smith 2020-07-22 12:27:25 -04:00 committed by glittershark
parent 950ba404be
commit ef64479c9d
2 changed files with 5 additions and 0 deletions

View file

@ -63,4 +63,7 @@ in
"${obs-input-overlay}/lib/obs-plugins/input-overlay.so";
xdg.configFile."obs-studio/plugins/input-overlay/data".source =
"${obs-input-overlay}/share/obs/obs-plugins/input-overlay";
xdg.configFile."obs-studio/plugins/obs-v4l2sink/bin/64bit/obs-v4l2sink.so".source =
"${pkgs.obs-v4l2sink}/share/obs/obs-plugins/v4l2sink/bin/64bit/v4l2sink.so";
}

View file

@ -1,10 +1,12 @@
{ config, lib, pkgs, ... }:
{
imports = [
../modules/common.nix
../modules/reusable/battery.nix
../modules/tvl.nix
../modules/urbint.nix
../../../../../ops/nixos/v4l2loopback.nix
];
hardware.enableRedistributableFirmware = true;