add OBS studio

This commit is contained in:
Chris Kruining 2024-09-01 16:32:49 +02:00
parent 0ccfaa3c0c
commit 89b3f679bf
2 changed files with 22 additions and 0 deletions

View file

@ -23,6 +23,7 @@
email.enable = true;
office.enable = true;
steam.enable = true;
recording.enable = true;
};
terminal = {

View file

@ -0,0 +1,21 @@
{ options, config, lib, pkgs, ... }:
let
inherit (lib.modules) mkIf mkForce mkMerge;
inherit (lib.attrsets) attrValues;
cfg = config.modules.desktop.applications.recording;
in
{
options.modules.desktop.applications.recording = let
inherit (lib.options) mkEnableOption;
in {
enable = mkEnableOption "Enable recording software (OBS Studio)";
};
config = mkIf cfg.enable
{
user.packages = attrValues {
inherit (pkgs) obs-studio obs-stuio-plugins.wlrobs;
};
};
}