add discord

This commit is contained in:
Sakooooo 2023-10-08 14:32:12 +04:00
parent 4ea5f2f2ac
commit 8e58ca3115
Signed by: sako
GPG key ID: 3FD715D87D7725E0
4 changed files with 24 additions and 0 deletions

View file

@ -32,6 +32,8 @@
chat = {
whatsapp.enable = true;
zoom.enable = true;
discord.enable = true;
teams.enable = true;
};
apps = {
nemo.enable = true;

View file

@ -3,5 +3,6 @@
./teams
./whatsapp
./zoom
./discord
];
}

View file

@ -0,0 +1,21 @@
{
outputs,
options,
config,
lib,
pkgs,
...
}:
with lib; let
cfg = config.modules.desktop.chat.discord;
in {
options.modules.desktop.chat.discord = {
enable = mkEnableOption false;
};
config = mkIf cfg.enable {
users.users.sako.packages = with pkgs; [
discord
];
};
}