diff --git a/modules/home/emacs/default.nix b/modules/home/emacs/default.nix index 348e1a2..30a0ca8 100644 --- a/modules/home/emacs/default.nix +++ b/modules/home/emacs/default.nix @@ -34,44 +34,47 @@ in config = mkIf cfg.enable { home.sessionPath = [ "/home/julian/.config/emacs/bin" ]; - home.packages = with pkgs; [ - binutils # native-comp needs 'as', provided by this + home.packages = + with pkgs; + [ + binutils # native-comp needs 'as', provided by this - ## Doom dependencies - git - (ripgrep.override { withPCRE2 = true; }) + ## Doom dependencies + git + (ripgrep.override { withPCRE2 = true; }) - ## Optional dependencies - fd # faster projectile indexing - imagemagick # for image-dired - zstd # for undo-fu-session/undo-tree compression + ## Optional dependencies + fd # faster projectile indexing + imagemagick # for image-dired + zstd # for undo-fu-session/undo-tree compression - ## Module dependencies - (aspellWithDicts ( - ds: with ds; [ - en - en-computers - en-science - de - ] - )) - sqlite + ## Module dependencies + (aspellWithDicts ( + ds: with ds; [ + en + en-computers + en-science + de + ] + )) + sqlite - # Code formatters for use with doom emacs - nixfmt-rfc-style # nix - dockfmt # docker - google-java-format # java - black # python - unstable.rustfmt # rust - shfmt - pyright + # Code formatters for use with doom emacs + nixfmt-rfc-style # nix + dockfmt # docker + google-java-format # java + black # python + rustfmt # rust + shfmt + pyright - graphviz - # Lsps for use with doom emacs - # neocmakelsp # cmake + graphviz + # Lsps for use with doom emacs + # neocmakelsp # cmake - emacs-all-the-icons-fonts - ] ++ lib.optional config.modules.non-nixos.is-nixos emacs; + emacs-all-the-icons-fonts + ] + ++ lib.optional config.modules.non-nixos.is-nixos emacs; home.activation.installDoomEmacs = lib.home-manager.hm.dag.entryAfter [ "writeBoundary" ] '' if [ ! -d "/home/julian/.config/emacs" ]; then