Fix syncing doom when activating a new version

This commit is contained in:
2024-07-20 17:05:32 -07:00
parent bb9c3921d6
commit 368f649973

View File

@@ -86,15 +86,15 @@ with import <nixpkgs> {};
rev = "36e7aaa619342eff61b1daf3ac664f94d5272db7"; rev = "36e7aaa619342eff61b1daf3ac664f94d5272db7";
}; };
recursive = true; recursive = true;
onChange = "bash -c \"doom sync -u -j $((`nproc`/4*3))\"";
}; };
}; };
/*home.activation = { home.activation.doomSync = lib.hm.dag.entryAfter [ "writeBoundary" ] (let
syncDoom = lib.hm.dag.entryAfter ["writeBoundary"] '' emacs = pkgs.emacs;
run bash -c "doom sync -u -j $((`nproc`/4*3))" in ''
''; export PATH=$PATH:${emacs}/bin
};*/ ${config.xdg.configHome}/emacs/bin/doom sync -u -j $((`nproc`/4*3))
'');
# Home Manager can also manage your environment variables through # Home Manager can also manage your environment variables through
# 'home.sessionVariables'. These will be explicitly sourced when using a # 'home.sessionVariables'. These will be explicitly sourced when using a