about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGriffin Smith <grfn@gws.fyi>2020-07-22T16·27-0400
committerglittershark <grfn@gws.fyi>2020-07-22T16·31+0000
commitef64479c9dbd590c50eee27b21596102024f8bc5 (patch)
tree28fbdc4ce868ea8357c1ec6737c0fc2c5124c938
parent950ba404bef3a0564399d96da09bf78ff0965d09 (diff)
feat(gs/system): Install obs v4l2loopback r/1419
Change-Id: I62db4951969a0978e929f91d62382b1560d1f89c
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1348
Reviewed-by: glittershark <grfn@gws.fyi>
Tested-by: BuildkiteCI
-rw-r--r--users/glittershark/system/home/modules/obs.nix3
-rw-r--r--users/glittershark/system/system/machines/chupacabra.nix2
2 files changed, 5 insertions, 0 deletions
diff --git a/users/glittershark/system/home/modules/obs.nix b/users/glittershark/system/home/modules/obs.nix
index d1dade477ccc..39f7bbe3c6fc 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 7e2269e074f0..cd77e48e337b 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;