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;
|
mpv.enable = true;
|
||||||
i3.enable = true;
|
i3.enable = true;
|
||||||
schizofox.enable = true;
|
schizofox.enable = true;
|
||||||
|
obs.enable = true;
|
||||||
#neovim.enable = true;
|
#neovim.enable = true;
|
||||||
#git = {
|
#git = {
|
||||||
# enable = true;
|
# enable = true;
|
||||||
|
|
|
@ -27,6 +27,8 @@ in {
|
||||||
zathura
|
zathura
|
||||||
alacritty
|
alacritty
|
||||||
scc
|
scc
|
||||||
|
texliveFull
|
||||||
|
st
|
||||||
unzip
|
unzip
|
||||||
gcc
|
gcc
|
||||||
trash-cli
|
trash-cli
|
||||||
|
|
|
@ -7,5 +7,6 @@ _: {
|
||||||
./qt.nix
|
./qt.nix
|
||||||
./schizofox.nix
|
./schizofox.nix
|
||||||
./zathura.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