cleaning up config

This commit is contained in:
Christoph Hollizeck 2024-08-21 22:29:36 +02:00
parent e7a0c0f0f2
commit 0754ac33ee
Signed by: Daholli
GPG key ID: 249300664F2AF2C7
7 changed files with 74 additions and 362 deletions

View file

@ -0,0 +1,18 @@
{
config,
lib,
pkgs,
...
}:
with lib;
with lib.wyrdgard;
let
cfg = config.wyrdgard.apps.obs-studio;
in
{
options.wyrdgard.apps.obs-studio = with types; {
enable = mkBoolOpt false "Whether or not to enable obs-studio";
};
config = mkIf cfg.enable { environment.systemPackages = with pkgs; [ obs-studio ]; };
}