nixos/pkgsets/emacs/telega.nix
2021-11-25 21:43:49 +01:00

15 lines
318 B
Nix

{ 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)
'';
};
}