Skip to content

Commit

Permalink
common: add hunspell, nuspell, enchant and emacs jinx
Browse files Browse the repository at this point in the history
  • Loading branch information
storvik committed Feb 22, 2024
1 parent bf76279 commit 3a2ba72
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion modules/hm-modules/common.nix
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,10 @@ in
programs.emacs = {
enable = true;
package = pkgs.emacs-pgtk;
} // lib.optionalAttrs (!cfg.disableEmail) { extraPackages = epkgs: [ epkgs.mu4e ]; };
extraPackages = epkgs: [
epkgs.jinx
] ++ lib.optionalAttrs (!cfg.disableEmail) [ epkgs.mu4e ];
};

services.emacs = {
enable = (!cfg.disableEmacsDaemon);
Expand Down Expand Up @@ -215,6 +218,12 @@ in
ent
priv
(aspellWithDicts (dicts: with dicts; [ en en-computers en-science nb ]))
(hunspellWithDicts (with hunspellDicts; [ en-us-large nb-no ]))
# have to install dictionaries separately in order for enchant (used by emacs jinx) to find them
hunspellDicts.en-us-large
hunspellDicts.nb-no
nuspell
enchant
graphviz
ripgrep
dtach
Expand Down

0 comments on commit 3a2ba72

Please sign in to comment.