diff --git a/hosts/sakotop/configuration.nix b/hosts/sakotop/configuration.nix index d0970e1b..48f4f08c 100644 --- a/hosts/sakotop/configuration.nix +++ b/hosts/sakotop/configuration.nix @@ -37,6 +37,7 @@ calibre.enable = true; kindle-comic-converter.enable = true; mangal.enable = true; + obs.enable = true; }; chat = { discord.enable = true; diff --git a/modules/desktop/apps/default.nix b/modules/desktop/apps/default.nix index f53d3a41..ebb60d38 100644 --- a/modules/desktop/apps/default.nix +++ b/modules/desktop/apps/default.nix @@ -8,5 +8,6 @@ ./kcc ./calibre ./mangal + ./obs ]; } diff --git a/modules/desktop/apps/obs/default.nix b/modules/desktop/apps/obs/default.nix new file mode 100644 index 00000000..04251ebd --- /dev/null +++ b/modules/desktop/apps/obs/default.nix @@ -0,0 +1,21 @@ +{ + outputs, + options, + config, + lib, + pkgs, + ... +}: +with lib; let + cfg = config.modules.desktop.apps.obs; +in { + options.modules.desktop.apps.obs = { + enable = mkEnableOption false; + }; + + config = mkIf cfg.enable { + users.users.sako.packages = with pkgs; [ + obs-studio + ]; + }; +}