Fix missing emacs packages

Force emacs to use nix install pdf-tools and icon fonts

Add back full mu4e modeline
This commit is contained in:
Evie Litherland-Smith 2023-10-08 14:56:55 +01:00
parent 6200b76e22
commit 1ccca63c67
3 changed files with 63 additions and 60 deletions

View file

@ -24,69 +24,68 @@ in {
home = { home = {
inherit sessionVariables; inherit sessionVariables;
sessionPath = [ "$HOME/.config/emacs/bin" "$HOME/.emacs.d/bin" ]; sessionPath = [ "$HOME/.config/emacs/bin" "$HOME/.emacs.d/bin" ];
packages = with pkgs; packages = with pkgs; [
with emacsPackages; [ # Additional/Compiled Emacs packages
# Additional/Compiled Emacs packages emacsPackages.mu4e
mu4e emacsPackages.vterm
vterm emacsPackages.pdf-tools
pdf-tools emacsPackages.all-the-icons
all-the-icons emacsPackages.nerd-icons
nerd-icons
# Emacs dependencies # Emacs dependencies
coreutils coreutils
gnutls gnutls
ripgrep ripgrep
cmake cmake
fd fd
imagemagick imagemagick
zstd zstd
graphviz graphviz
zip zip
unzip unzip
# Language-specific requirements # Language-specific requirements
(aspellWithDicts (ds: with ds; [ en en-computers en-science ])) (aspellWithDicts (ds: with ds; [ en en-computers en-science ]))
findutils findutils
sqlite sqlite
pandoc pandoc
gfortran gfortran
texlive.combined.scheme-medium texlive.combined.scheme-medium
python3 python3
isort isort
python3Packages.cython python3Packages.cython
python3Packages.pyflakes python3Packages.pyflakes
python3Packages.nose python3Packages.nose
python3Packages.pytest python3Packages.pytest
nodePackages.stylelint nodePackages.stylelint
# Formatters # Formatters
nixfmt nixfmt
beautysh beautysh
black black
nodePackages.fixjson nodePackages.fixjson
fprettify fprettify
shellharden shellharden
shfmt shfmt
stylua stylua
python3Packages.mdformat python3Packages.mdformat
html-tidy html-tidy
nodePackages.js-beautify nodePackages.js-beautify
# LSP servers # LSP servers
nixd nixd
fortls fortls
shellcheck shellcheck
marksman marksman
luajitPackages.lua-lsp luajitPackages.lua-lsp
texlab texlab
nodePackages.pyright nodePackages.pyright
nodePackages.yaml-language-server nodePackages.yaml-language-server
nodePackages.bash-language-server nodePackages.bash-language-server
nodePackages.vscode-html-languageserver-bin nodePackages.vscode-html-languageserver-bin
nodePackages.vscode-css-languageserver-bin nodePackages.vscode-css-languageserver-bin
nodePackages.vscode-json-languageserver-bin nodePackages.vscode-json-languageserver-bin
nodePackages.dockerfile-language-server-nodejs nodePackages.dockerfile-language-server-nodejs
]; ];
}; };
} }

View file

@ -45,6 +45,7 @@
mu4e-sent-messages-behavior 'delete mu4e-sent-messages-behavior 'delete
mu4e-attachment-dir "~/Downloads" mu4e-attachment-dir "~/Downloads"
mu4e-change-filenames-when-moving t mu4e-change-filenames-when-moving t
mu4e-alert-modeline-formatter 'mu4e-alert-default-mode-line-formatter
sendmail-program (executable-find "msmtp") sendmail-program (executable-find "msmtp")
send-mail-function #'smtpmail-send-it send-mail-function #'smtpmail-send-it
message-sendmail-f-is-evil t message-sendmail-f-is-evil t

View file

@ -1,6 +1,9 @@
;; -*- no-byte-compile: t; -*- ;; -*- no-byte-compile: t; -*-
;;; $DOOMDIR/packages.el ;;; $DOOMDIR/packages.el
(package! pdf-tools :built-in 'prefer)
(package! all-the-icons :built-in 'prefer)
(package! nerd-icons :built-in 'prefer)
(package! catppuccin-theme) (package! catppuccin-theme)
(package! pocket-reader) (package! pocket-reader)
(package! magit-delta) (package! magit-delta)