From ef64479c9dbd590c50eee27b21596102024f8bc5 Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Wed, 22 Jul 2020 12:27:25 -0400 Subject: [PATCH] feat(gs/system): Install obs v4l2loopback Change-Id: I62db4951969a0978e929f91d62382b1560d1f89c Reviewed-on: https://cl.tvl.fyi/c/depot/+/1348 Reviewed-by: glittershark Tested-by: BuildkiteCI --- users/glittershark/system/home/modules/obs.nix | 3 +++ users/glittershark/system/system/machines/chupacabra.nix | 2 ++ 2 files changed, 5 insertions(+) diff --git a/users/glittershark/system/home/modules/obs.nix b/users/glittershark/system/home/modules/obs.nix index d1dade477..39f7bbe3c 100644 --- a/users/glittershark/system/home/modules/obs.nix +++ b/users/glittershark/system/home/modules/obs.nix @@ -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"; } diff --git a/users/glittershark/system/system/machines/chupacabra.nix b/users/glittershark/system/system/machines/chupacabra.nix index 7e2269e07..cd77e48e3 100644 --- a/users/glittershark/system/system/machines/chupacabra.nix +++ b/users/glittershark/system/system/machines/chupacabra.nix @@ -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;