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 {
|
config = lib.mkIf config.my.home.emacs.enable {
|
||||||
|
|
||||||
|
home.sessionPath = [ "${config.xdg.configHome}/emacs/bin" ];
|
||||||
home.sessionVariables = {
|
home.sessionVariables = {
|
||||||
EDITOR = "emacsclient -t";
|
EDITOR = "emacsclient -t";
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
{ config, ... }:
|
{ config, ... }:
|
||||||
{
|
{
|
||||||
home.sessionPath = [
|
home.sessionPath = [
|
||||||
"${config.xdg.configHome}/emacs/bin"
|
|
||||||
"${config.home.homeDirectory}/.cargo/bin"
|
"${config.home.homeDirectory}/.cargo/bin"
|
||||||
"${config.home.homeDirectory}/.local/bin"
|
"${config.home.homeDirectory}/.local/bin"
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue