mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-24 09:48:30 +02:00
fix: home manager - emacs
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user