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; xdg.configFile."doom".source = ./doom;
home.activation = mkIf cfg.doom.enable { 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 if [ ! -d "${config.xdg.configHome}/emacs" ]; then
echo "Installing Doom Emacs..." echo "Installing Doom Emacs..."
${pkgs.git}/bin/git clone --depth=1 --single-branch "${cfg.doom.repoUrl}" "${config.xdg.configHome}/emacs" ${pkgs.git}/bin/git clone --depth=1 --single-branch "${cfg.doom.repoUrl}" "${config.xdg.configHome}/emacs"

View File

@@ -92,6 +92,7 @@
# remote desktop # remote desktop
".config/remmina" ".config/remmina"
".config/freerdp" ".config/freerdp"
".config/emacs" # doom-emacs
# browsers # browsers
".mozilla" ".mozilla"