1

Change doom emacs path

This commit is contained in:
2022-07-01 16:11:28 +02:00
parent 89c9e26e20
commit 0644029f8e

View File

@ -57,7 +57,7 @@ in {
}; };
home.sessionPath = [ home.sessionPath = [
"/home/${config.home.username}/.emacs.d/bin" "/home/${config.home.username}/.emacs/bin"
]; ];
# TODO: # TODO:
@ -69,8 +69,8 @@ in {
# Because we write to the filesystem, this script has to be run after HomeManager's writeBoundary # Because we write to the filesystem, this script has to be run after HomeManager's writeBoundary
installDoomEmacs = hm.dag.entryAfter ["writeBoundary"] '' installDoomEmacs = hm.dag.entryAfter ["writeBoundary"] ''
if [ ! -d "${config.home.homeDirectory}/.emacs.d" ]; then if [ ! -d "${config.home.homeDirectory}/.emacs" ]; then
git clone --depth=1 --single-branch "https://github.com/doomemacs/doomemacs" "${config.home.homeDirectory}/.emacs.d" git clone --depth=1 --single-branch "https://github.com/doomemacs/doomemacs" "${config.home.homeDirectory}/.emacs"
fi fi
''; '';
}; };