doom: add commented install script

This commit is contained in:
Infinidoge 2021-10-25 10:38:33 -04:00
parent 34c99dbf9f
commit 166b164026

View file

@ -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
# '';
# };
};
}