mirror of
https://git.sr.ht/~neverness/ultima
synced 2025-01-09 20:23:52 +00:00
21 lines
399 B
Nix
21 lines
399 B
Nix
|
{ pkgs, lib, config, True, ... }:
|
||
|
|
||
|
with lib;
|
||
|
|
||
|
let cfg = config.module.programs.gui.obs;
|
||
|
in {
|
||
|
options = { module.programs.gui.obs = { enable = mkEnableOption ""; }; };
|
||
|
|
||
|
config = mkIf cfg.enable {
|
||
|
programs.obs-studio = True // {
|
||
|
package = pkgs.obs-studio;
|
||
|
plugins = with pkgs.obs-studio-plugins; [
|
||
|
wlrobs
|
||
|
obs-vkcapture
|
||
|
input-overlay
|
||
|
];
|
||
|
};
|
||
|
};
|
||
|
}
|
||
|
|