2021-09-10 14:00:56 +02:00
|
|
|
{ config, lib, pkgs, inputs, ... }:
|
2021-09-09 21:55:28 +02:00
|
|
|
|
|
|
|
let
|
2021-10-31 15:22:44 +01:00
|
|
|
emacs = with pkgs;
|
|
|
|
((emacsPackagesNgGen emacsGcc).emacsWithPackages (epkgs: [ epkgs.vterm ]));
|
2021-10-11 11:17:44 +02:00
|
|
|
in {
|
|
|
|
fonts.fonts = [ pkgs.emacs-all-the-icons-fonts ];
|
|
|
|
|
|
|
|
home-manager.users.moritz = {
|
2021-09-09 21:55:28 +02:00
|
|
|
programs.emacs.enable = true;
|
2021-10-31 15:22:44 +01:00
|
|
|
programs.emacs.package = emacs;
|
2021-09-09 21:55:28 +02:00
|
|
|
services.emacs.enable = true;
|
2021-10-31 15:22:44 +01:00
|
|
|
services.emacs.package = emacs;
|
2021-09-09 21:55:28 +02:00
|
|
|
|
2021-09-10 14:00:56 +02:00
|
|
|
home.packages = with pkgs; [
|
|
|
|
## Emacs itself
|
2021-09-15 00:41:46 +02:00
|
|
|
binutils # native-comp needs 'as', provided by this
|
2021-09-10 14:00:56 +02:00
|
|
|
|
|
|
|
## Doom dependencies
|
|
|
|
git
|
2021-09-15 00:41:46 +02:00
|
|
|
(ripgrep.override { withPCRE2 = true; })
|
|
|
|
gnutls # for TLS connectivity
|
2021-09-10 14:00:56 +02:00
|
|
|
|
|
|
|
## Optional dependencies
|
2021-09-15 00:41:46 +02:00
|
|
|
fd # faster projectile indexing
|
|
|
|
imagemagick # for image-dired
|
|
|
|
zstd # for undo-fu-session/undo-tree compression
|
2021-09-10 14:00:56 +02:00
|
|
|
|
|
|
|
## Module dependencies
|
|
|
|
# :checkers spell
|
2021-10-15 09:11:11 +02:00
|
|
|
# (aspellWithDicts (ds: with ds; [ en en-computers en-science de ]))
|
|
|
|
hunspell
|
|
|
|
hunspellDicts.en_GB-ize
|
|
|
|
hunspellDicts.en_US
|
|
|
|
hunspellDicts.de_DE
|
2021-09-10 14:00:56 +02:00
|
|
|
# :checkers grammar
|
|
|
|
languagetool
|
|
|
|
# :tools lookup & :lang org +roam
|
|
|
|
sqlite
|
2021-11-10 21:54:22 +01:00
|
|
|
graphviz
|
2021-09-10 14:00:56 +02:00
|
|
|
# :lang latex & :lang org (latex previews)
|
2021-10-17 18:54:01 +02:00
|
|
|
texlive.combined.scheme-full
|
2021-09-29 13:37:02 +02:00
|
|
|
# :lang nix
|
|
|
|
nixfmt # for formating nix
|
2021-10-31 15:22:44 +01:00
|
|
|
# :lang markdown
|
|
|
|
pandoc
|
2021-09-29 13:37:02 +02:00
|
|
|
# :app everywhere
|
|
|
|
xdotool
|
|
|
|
xorg.xwininfo
|
|
|
|
xclip
|
|
|
|
xorg.xprop
|
2021-09-10 14:00:56 +02:00
|
|
|
];
|
2021-09-09 21:55:28 +02:00
|
|
|
};
|
|
|
|
}
|