nixos/modules/desktop/chat/telegram/default.nix
2024-08-01 16:24:09 +04:00

21 lines
317 B
Nix

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