nixos/pkgsets/emacs/telega.nix

16 lines
318 B
Nix
Raw Normal View History

2021-11-25 21:43:49 +01:00
{ config, lib, ... }:
with lib;
mkIf (elem "emacs::telega" config.machine.pkgs) {
programs.emacs.init.usePackage.telegram = {
enable = true;
defer = true;
package = epkgs: [ epkgs.telega epkgs.visual-fill-column ];
command = [ "telega" ];
config = ''
(telega-alert-mode 1)
'';
};
}