Set editor and visual

This commit is contained in:
Nathan McCarty 2023-05-06 21:00:46 -04:00
parent 19aa7f8fc4
commit 88b0d8bc41
Signed by: thatonelutenist
SSH Key Fingerprint: SHA256:hwQEcmak9E6sdU9bXc98RHw/Xd1AhpB5HZT7ZSVJkRM
1 changed files with 5 additions and 0 deletions

View File

@ -45,6 +45,11 @@
epkgs.pdf-tools
];
};
# Set emacs as the editor
home.sessionVariables = {
EDITOR = "emacsclient -c";
VISUAL = "emacsclient -c";
};
}))
(lib.mkIf (config.nathan.programs.emacs.enable && pkgs.stdenv.isLinux) {
home.packages = with pkgs;