diff --git a/home/packages/gui/obs.nix b/home/packages/gui/obs.nix new file mode 100644 index 0000000..8d4428b --- /dev/null +++ b/home/packages/gui/obs.nix @@ -0,0 +1,19 @@ +{ + lib, + pkgs, + osConfig, + ... +}: let + inherit (lib) mkIf; + + cfg = osConfig.myOptions.home-manager.programs.applications.obs; +in { + config = mkIf cfg.enable { + home.packages = with pkgs; [ + obs-studio + obs-cli + ]; + }; +} + + diff --git a/hosts/voyager/default.nix b/hosts/voyager/default.nix index 29a6a30..5daf055 100644 --- a/hosts/voyager/default.nix +++ b/hosts/voyager/default.nix @@ -175,6 +175,7 @@ }; nomacs.enable = true; qbittorrent.enable = true; + obs.enable = true; }; }; }; diff --git a/options/home/programs/default.nix b/options/home/programs/default.nix index f602885..1c5544a 100644 --- a/options/home/programs/default.nix +++ b/options/home/programs/default.nix @@ -35,6 +35,7 @@ in }; nomacs.enable = mkEnableOption "Nomacs (Qt-based image viewer)"; qbittorrent.enable = mkEnableOption "Qbittorrent (Free software BitTorrent client)"; + obs.enable = mkEnableOption "OBS (Free and oepn source software for video recording and live streaming)"; }; tools = {