module(obs): Refactor obs-studio module from hmModule into nixosModule
This commit is contained in:
parent
149a4057a5
commit
6f35b2ebcc
7 changed files with 5 additions and 7 deletions
|
|
@ -11,7 +11,6 @@
|
|||
./wluma.nix
|
||||
./niri.nix
|
||||
./starship
|
||||
./obs.nix
|
||||
./fuzzel.nix
|
||||
./mpv.nix
|
||||
./swaylock.nix
|
||||
|
|
|
|||
|
|
@ -1,26 +0,0 @@
|
|||
{
|
||||
pkgs,
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
cfg = config.youthlic.programs.obs;
|
||||
in {
|
||||
options = {
|
||||
youthlic.programs.obs = {
|
||||
enable = lib.mkEnableOption "obs";
|
||||
};
|
||||
};
|
||||
config = lib.mkIf cfg.enable {
|
||||
programs.obs-studio = {
|
||||
enable = true;
|
||||
plugins = with pkgs.obs-studio-plugins; [
|
||||
obs-source-record
|
||||
obs-vaapi
|
||||
obs-vkcapture
|
||||
obs-webkitgtk
|
||||
obs-pipewire-audio-capture
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue