add(discord): add discord package to bodenheizung
sadly, we need this.
This commit is contained in:
parent
af66ad11b8
commit
6eae4d5c7f
2 changed files with 23 additions and 0 deletions
|
@ -25,6 +25,7 @@ with lib.${namespace};
|
||||||
cinny = enabled;
|
cinny = enabled;
|
||||||
spotify = enabled;
|
spotify = enabled;
|
||||||
obs = enabled;
|
obs = enabled;
|
||||||
|
discord = enabled;
|
||||||
kitty = {
|
kitty = {
|
||||||
enable = true;
|
enable = true;
|
||||||
plasma = enabled;
|
plasma = enabled;
|
||||||
|
|
22
modules/home/apps/discord/default.nix
Normal file
22
modules/home/apps/discord/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue