added a obs module

This commit is contained in:
vali 2024-04-11 00:02:27 +02:00
commit f7f03110db
4 changed files with 26 additions and 0 deletions

View file

@ -22,6 +22,7 @@
mpv.enable = true;
i3.enable = true;
schizofox.enable = true;
obs.enable = true;
#neovim.enable = true;
#git = {
# enable = true;

View file

@ -27,6 +27,8 @@ in {
zathura
alacritty
scc
texliveFull
st
unzip
gcc
trash-cli

View file

@ -7,5 +7,6 @@ _: {
./qt.nix
./schizofox.nix
./zathura.nix
./obs.nix
];
}

22
modules/gui/obs.nix Normal file
View file

@ -0,0 +1,22 @@
{ config, lib, pkgs, ... }:
with lib; let
cfg = config.myOptions.programs.obs;
username = config.myOptions.other.system.username;
in {
options.myOptions.programs.obs.enable = mkEnableOption "obs";
config = mkIf cfg.enable {
home-manager.users.${username} = {
programs.obs-studio = {
enable = true;
plugins = with pkgs.obs-studio-plugins; [
wlrobs
obs-backgroundremoval
obs-pipewire-audio-capture
];
};
};
};
}