nixos/system/home/emacs/default.nix

40 lines
741 B
Nix
Raw Normal View History

{
pkgs,
config,
...
}:
{
imports = [
../shell/default.nix
../shell/git.nix
../gpg/default.nix
../texlive/default.nix
../programming/default.nix
];
home.sessionVariables = with config.programs; {
EDITOR = "${emacs.finalPackage}/bin/emacs -nw";
VISUAL = "${emacs.finalPackage}/bin/emacs";
};
programs.emacs = {
enable = true;
2024-12-10 15:48:39 +00:00
package = pkgs.emacs30.override {
withImageMagick = true;
withPgtk = true;
};
extraPackages = epkgs: import ./packages.nix { inherit epkgs; };
};
home.packages = with pkgs; [
# External requirements
gcc
languagetool
wordnet
pandoc
ghostscript
mupdf-headless
poppler_utils
graphviz-nox
2025-01-13 17:08:03 +00:00
toolbox
];
}