emacs: add telega mode
This commit is contained in:
parent
0d97bc51a2
commit
e8f26ac86e
1 changed files with 15 additions and 0 deletions
15
pkgsets/emacs/telega.nix
Normal file
15
pkgsets/emacs/telega.nix
Normal file
|
@ -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…
Reference in a new issue