add telegram

This commit is contained in:
Sakooooo 2024-01-29 19:20:55 +04:00
parent 750b0eba47
commit 7a8d88c4b4
Signed by: sako
GPG key ID: 3FD715D87D7725E0
2 changed files with 22 additions and 0 deletions

View file

@ -4,5 +4,6 @@
./whatsapp
./zoom
./discord
./telegram
];
}

View file

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