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