home: only put doom in path if emacs is enabled
This commit is contained in:
parent
328b59ed03
commit
be9268236a
|
@ -5,6 +5,8 @@
|
|||
};
|
||||
|
||||
config = lib.mkIf config.my.home.emacs.enable {
|
||||
|
||||
home.sessionPath = [ "${config.xdg.configHome}/emacs/bin" ];
|
||||
home.sessionVariables = {
|
||||
EDITOR = "emacsclient -t";
|
||||
};
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{ config, ... }:
|
||||
{
|
||||
home.sessionPath = [
|
||||
"${config.xdg.configHome}/emacs/bin"
|
||||
"${config.home.homeDirectory}/.cargo/bin"
|
||||
"${config.home.homeDirectory}/.local/bin"
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue