home: only mark emacs as editor if enabled
This commit is contained in:
parent
4604e5861a
commit
cdb34a08da
|
@ -5,6 +5,10 @@
|
|||
};
|
||||
|
||||
config = lib.mkIf config.my.home.emacs.enable {
|
||||
home.sessionVariables = {
|
||||
EDITOR = "emacsclient -t";
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
sqlite # needed by org-roam
|
||||
|
||||
|
|
|
@ -5,8 +5,4 @@
|
|||
"${config.home.homeDirectory}/.cargo/bin"
|
||||
"${config.home.homeDirectory}/.local/bin"
|
||||
];
|
||||
|
||||
home.sessionVariables = {
|
||||
EDITOR = "emacsclient -t";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue