372a4de5c2
Note: not the actual initial commit. I swear I will stop repeatedly force pushing to this single commit eventually ok.
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
|
|
];
|
|
};
|
|
};
|
|
}
|