about summary refs log tree commit diff
path: root/users/grfn/system/home/modules/obs.nix
blob: 7962320f8a2f7331a5ac3efc694d0230455a20df (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ config, lib, pkgs, ... }:

let
  inherit (pkgs) obs-studio;
  obs-input-overlay = pkgs.obs-studio-plugins.input-overlay;
in

{
  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";
}