added a obs module
This commit is contained in:
parent
13bdcd3bc3
commit
b1e4cd6b6e
4 changed files with 26 additions and 0 deletions
|
@ -22,6 +22,7 @@
|
|||
mpv.enable = true;
|
||||
i3.enable = true;
|
||||
schizofox.enable = true;
|
||||
obs.enable = true;
|
||||
#neovim.enable = true;
|
||||
#git = {
|
||||
# enable = true;
|
||||
|
|
|
@ -27,6 +27,8 @@ in {
|
|||
zathura
|
||||
alacritty
|
||||
scc
|
||||
texliveFull
|
||||
st
|
||||
unzip
|
||||
gcc
|
||||
trash-cli
|
||||
|
|
|
@ -7,5 +7,6 @@ _: {
|
|||
./qt.nix
|
||||
./schizofox.nix
|
||||
./zathura.nix
|
||||
./obs.nix
|
||||
];
|
||||
}
|
||||
|
|
22
modules/gui/obs.nix
Normal file
22
modules/gui/obs.nix
Normal 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
|
||||
];
|
||||
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue