feat: better modules aragement.

This commit is contained in:
CronyAkatsuki 2025-03-23 20:01:51 +01:00
parent de11ee0676
commit 6e967a751f
49 changed files with 27 additions and 19 deletions

View file

@ -0,0 +1,20 @@
{
config,
pkgs,
lib,
...
}: {
options = {
crony.obs-studio.enable = lib.mkEnableOption "Enable obs and install plugins.";
};
config = lib.mkIf config.crony.obs-studio.enable {
# Install obs-studio
programs.obs-studio = {
enable = true;
plugins = with pkgs.obs-studio-plugins; [
obs-vkcapture
];
};
};
}