diff --git a/home/emacs.nix b/home/emacs.nix index 34d4dab..af4d593 100644 --- a/home/emacs.nix +++ b/home/emacs.nix @@ -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 diff --git a/home/env.nix b/home/env.nix index c678b36..e196dd9 100644 --- a/home/env.nix +++ b/home/env.nix @@ -5,8 +5,4 @@ "${config.home.homeDirectory}/.cargo/bin" "${config.home.homeDirectory}/.local/bin" ]; - - home.sessionVariables = { - EDITOR = "emacsclient -t"; - }; }