diff --git a/users/profiles/emacs.nix b/users/profiles/emacs.nix index 1ea2470..e782fc9 100644 --- a/users/profiles/emacs.nix +++ b/users/profiles/emacs.nix @@ -1,4 +1,4 @@ -{ config, pkgs, ... }: { +{ config, pkgs, lib, ... }: { services.emacs.enable = true; home = { @@ -26,5 +26,15 @@ (aspellWithDicts (dicts: with dicts; [ en en-computers en-science ])) ]; + + # activation = { # Works in theory, but times out on rebuild + # install_doom_emacs = lib.hm.dag.entryAfter [ "linkGeneration" ] '' + # if [ ! -d ${config.xdg.configHome}/emacs/bin ]; then + # rm -rf ${config.xdg.configHome}/emacs + # git clone --depth 1 $VERBOSE_ARG https://github.com/hlissner/doom-emacs ${config.xdg.configHome}/emacs + # ${config.xdg.configHome}/emacs/bin/doom -y install --no-config + # fi + # ''; + # }; }; }