dotfiles/modules/home/graphical/obs.nix

21 lines
354 B
Nix
Raw Normal View History

{ pkgs, config, lib, ... }:
let
cfg = config.my.graphical.obs;
in {
options.my.graphical.obs = {
enable = lib.mkEnableOption null;
};
config = lib.mkIf cfg.enable {
programs.obs-studio = {
enable = true;
plugins = with pkgs.obs-studio-plugins; [
wlrobs
obs-vkcapture
obs-vaapi
];
};
};
}