fix: home manager - emacs

This commit is contained in:
Ryan Yin
2023-12-30 13:34:19 +08:00
parent a8d6d2e29e
commit dd2edb3216
2 changed files with 2 additions and 1 deletions

View File

@@ -62,7 +62,7 @@ in {
xdg.configFile."doom".source = ./doom;
home.activation = mkIf cfg.doom.enable {
installDoomEmacs = lib.hm.dag.entryBefore ["checkLinkTargets"] ''
installDoomEmacs = lib.hm.dag.entryAfter ["writeBoundary"] ''
if [ ! -d "${config.xdg.configHome}/emacs" ]; then
echo "Installing Doom Emacs..."
${pkgs.git}/bin/git clone --depth=1 --single-branch "${cfg.doom.repoUrl}" "${config.xdg.configHome}/emacs"