1
0
Fork 0

add(discord): add discord package to bodenheizung

sadly, we need this.
This commit is contained in:
Philipp 2025-06-04 17:53:27 +02:00
parent af66ad11b8
commit 6eae4d5c7f
Signed by: Philipp
GPG key ID: 9EBD8439AFBAB750
2 changed files with 23 additions and 0 deletions

View file

@ -25,6 +25,7 @@ with lib.${namespace};
cinny = enabled;
spotify = enabled;
obs = enabled;
discord = enabled;
kitty = {
enable = true;
plasma = enabled;

View file

@ -0,0 +1,22 @@
{
config,
lib,
pkgs,
namespace,
...
}:
with lib;
with lib.${namespace};
let
cfg = config.${namespace}.apps.discord;
in
{
options.${namespace}.apps.discord = with types; {
enable = mkBoolOpt false "Whether or not to enable discord.";
};
config = mkIf cfg.enable {
home.packages = with pkgs; [ discord ];
};
}