1
0
Fork 0
mirror of https://git.sr.ht/~neverness/ultima synced 2025-01-10 09:13:53 +00:00
ultima/modules/home/programs/gui/obs/default.nix

21 lines
392 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
];
};
};
}