dev/emacs: add wakatime-cli

This commit is contained in:
Sakooooo 2024-09-30 07:15:20 +04:00
parent a475f3ab1e
commit 081f6320bc
Signed by: sako
GPG key ID: 3FD715D87D7725E0

View file

@ -1,21 +1,12 @@
{
outputs,
options,
config,
lib,
pkgs,
inputs,
...
}:
{ outputs, options, config, lib, pkgs, inputs, ... }:
let
cfg = config.modules.dev.editors.emacs;
# so we dont cry later on why texLive is MASSIVE
tex = (pkgs.texlive.combine {
inherit (pkgs.texlive) scheme-basic
dvisvgm dvipng # for preview and export as html
wrapfig amsmath ulem hyperref capt-of fontspec inputenx graphics
etoolbox;
inherit (pkgs.texlive)
scheme-basic dvisvgm dvipng # for preview and export as html
wrapfig amsmath ulem hyperref capt-of fontspec inputenx graphics etoolbox;
});
myEmacs = pkgs.emacsWithPackagesFromUsePackage {
@ -33,7 +24,8 @@ let
epkgs.app-launcher
];
# add eglot-lsp-booster package
override = epkgs: epkgs // {
override = epkgs:
epkgs // {
eglot-booster = epkgs.trivialBuild {
pname = "eglot-booster";
version = "e19dd7ea81bada84c66e8bdd121408d9c0761fe6";
@ -51,7 +43,6 @@ let
pname = "app-launcher";
version = "1.0";
commit = "d5015e394b0a666a8c7c4d4bdf786266e773b145";
recipe = pkgs.writeText "recipe" ''
@ -89,9 +80,7 @@ in {
};
config = lib.mkIf cfg.enable {
nixpkgs.overlays = [
inputs.emacs-overlay.overlay
];
nixpkgs.overlays = [ inputs.emacs-overlay.overlay ];
# ues daemon
services.emacs = {
enable = cfg.daemon;
@ -128,6 +117,8 @@ in {
zenity
# org-wild-notifier
libnotify
# wakatime-mode
wakatime-cli
];
systemd.services.hydroxide = {