mirror of
https://git.sr.ht/~neverness/ultima
synced 2025-01-10 16:23:53 +00:00
31 lines
418 B
Nix
31 lines
418 B
Nix
{
|
|
x,
|
|
pkgs,
|
|
lib,
|
|
config,
|
|
...
|
|
}:
|
|
with lib;
|
|
with x;
|
|
let
|
|
cfg = config.module.programs.gui.obs;
|
|
in
|
|
{
|
|
options = {
|
|
module.programs.gui.obs = {
|
|
enable = mkBool;
|
|
};
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
programs.obs-studio = True // {
|
|
package = pkgs.obs-studio;
|
|
plugins = with pkgs.obs-studio-plugins; [
|
|
wlrobs
|
|
obs-vkcapture
|
|
input-overlay
|
|
];
|
|
};
|
|
};
|
|
}
|