tvl-depot/users/aspen/system/home/modules/obs.nix

19 lines
473 B
Nix
Raw Normal View History

2020-05-11 00:40:41 +02:00
{ config, lib, pkgs, ... }:
let
inherit (pkgs) obs-studio;
obs-input-overlay = pkgs.obs-studio-plugins.input-overlay;
2020-05-11 00:40:41 +02:00
in
2020-05-11 00:40:41 +02:00
{
home.packages = [
obs-studio
obs-input-overlay
];
xdg.configFile."obs-studio/plugins/input-overlay/bin/64bit/input-overlay.so".source =
"${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";
}