2024-12-10 14:57:32 +00:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}:
|
2024-10-05 12:38:24 +01:00
|
|
|
{
|
2024-10-05 16:39:27 +01:00
|
|
|
imports = [
|
2024-11-14 08:43:27 +00:00
|
|
|
../shell/default.nix
|
|
|
|
../shell/git.nix
|
|
|
|
../gpg/default.nix
|
2024-12-04 16:57:56 +00:00
|
|
|
../texlive/default.nix
|
|
|
|
../programming/default.nix
|
2024-10-05 16:39:27 +01:00
|
|
|
];
|
2024-10-22 11:36:21 +01:00
|
|
|
services.emacs = {
|
2024-12-10 14:57:32 +00:00
|
|
|
enable = lib.mkDefault true;
|
2024-10-22 11:36:21 +01:00
|
|
|
package = config.programs.emacs.finalPackage;
|
|
|
|
defaultEditor = true;
|
|
|
|
client.enable = true;
|
2024-12-19 10:45:12 +00:00
|
|
|
socketActivation.enable = true;
|
2024-07-03 07:15:39 +01:00
|
|
|
};
|
2024-10-05 16:39:27 +01:00
|
|
|
programs.emacs = {
|
|
|
|
enable = true;
|
2024-12-10 15:48:39 +00:00
|
|
|
package = pkgs.emacs30.override {
|
2024-11-14 13:50:55 +00:00
|
|
|
withImageMagick = true;
|
|
|
|
withPgtk = true;
|
|
|
|
};
|
2024-12-19 10:45:12 +00:00
|
|
|
extraPackages = epkgs: import ./packages.nix { inherit epkgs; };
|
2024-07-03 07:15:39 +01:00
|
|
|
};
|
|
|
|
home.packages = with pkgs; [
|
2024-12-18 18:01:28 +00:00
|
|
|
# External requirements
|
2024-07-24 08:25:37 +01:00
|
|
|
gcc
|
2024-11-14 13:50:55 +00:00
|
|
|
languagetool
|
|
|
|
wordnet
|
2024-07-03 07:15:39 +01:00
|
|
|
pandoc
|
|
|
|
ghostscript
|
2024-12-13 09:13:24 +00:00
|
|
|
mupdf-headless
|
2024-12-18 18:01:28 +00:00
|
|
|
poppler_utils
|
2024-11-14 13:50:55 +00:00
|
|
|
graphviz-nox
|
2024-07-03 07:15:39 +01:00
|
|
|
];
|
|
|
|
}
|