add discord
This commit is contained in:
parent
4ea5f2f2ac
commit
8e58ca3115
4 changed files with 24 additions and 0 deletions
|
@ -32,6 +32,8 @@
|
|||
chat = {
|
||||
whatsapp.enable = true;
|
||||
zoom.enable = true;
|
||||
discord.enable = true;
|
||||
teams.enable = true;
|
||||
};
|
||||
apps = {
|
||||
nemo.enable = true;
|
||||
|
|
|
@ -3,5 +3,6 @@
|
|||
./teams
|
||||
./whatsapp
|
||||
./zoom
|
||||
./discord
|
||||
];
|
||||
}
|
||||
|
|
21
modules/desktop/chat/discord/default.nix
Normal file
21
modules/desktop/chat/discord/default.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
0
modules/desktop/chat/discord/default.nix~
Normal file
0
modules/desktop/chat/discord/default.nix~
Normal file
Loading…
Reference in a new issue