21 lines
354 B
Nix
21 lines
354 B
Nix
|
{ 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
|
||
|
];
|
||
|
};
|
||
|
};
|
||
|
}
|