Fix syncing doom when activating a new version
This commit is contained in:
12
home.nix
12
home.nix
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user