cleaning up config

This commit is contained in:
Christoph Hollizeck 2024-08-21 22:29:36 +02:00
parent 4ef180ebdd
commit 8ce755aba3
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 1763BB530F50279E
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 ]; };
}