add OBS studio
This commit is contained in:
parent
0ccfaa3c0c
commit
89b3f679bf
2 changed files with 22 additions and 0 deletions
|
@ -23,6 +23,7 @@
|
|||
email.enable = true;
|
||||
office.enable = true;
|
||||
steam.enable = true;
|
||||
recording.enable = true;
|
||||
};
|
||||
|
||||
terminal = {
|
||||
|
|
21
modules/desktop/applications/recording.nix
Normal file
21
modules/desktop/applications/recording.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue