Browse Source

emacs: add telega mode

master
Kevin Baensch 9 months ago
parent
commit
e8f26ac86e
Signed by: derped GPG Key ID: C0F1D326C7626543
  1. 15
      pkgsets/emacs/telega.nix

15
pkgsets/emacs/telega.nix

@ -0,0 +1,15 @@
{ 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)
'';
};
}
Loading…
Cancel
Save