added stuff
This commit is contained in:
parent
e8d9044d2b
commit
9d0ebdfbd0
907 changed files with 70990 additions and 0 deletions
26
nyx/homes/notashelf/programs/graphical/apps/obs/default.nix
Normal file
26
nyx/homes/notashelf/programs/graphical/apps/obs/default.nix
Normal file
|
@ -0,0 +1,26 @@
|
|||
{
|
||||
lib,
|
||||
pkgs,
|
||||
osConfig,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkIf;
|
||||
inherit (osConfig) modules;
|
||||
|
||||
sys = modules.system;
|
||||
prg = sys.programs;
|
||||
in {
|
||||
config = mkIf prg.obs.enable {
|
||||
programs.obs-studio = {
|
||||
enable = true;
|
||||
plugins = with pkgs.obs-studio-plugins;
|
||||
[
|
||||
obs-gstreamer
|
||||
obs-pipewire-audio-capture
|
||||
obs-vkcapture
|
||||
]
|
||||
++ optional env.isWayland
|
||||
pkgs.obs-studio-plugins.wlrobs;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue