neovim: Specify defaultEditor at the home-manager level

Does the same thing (with the exception of VISUAL not being set for now)
but makes the module more portable overall.
This commit is contained in:
Donovan Glover 2024-04-18 13:43:49 -04:00
parent 482c7a18e0
commit fbb09fea48
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
2 changed files with 1 additions and 2 deletions

View File

@ -86,6 +86,7 @@ in
programs.neovim = {
enable = true;
defaultEditor = true;
extraPackages = with pkgs; [
nodePackages.typescript-language-server

View File

@ -16,8 +16,6 @@ in
NODE_OPTIONS = "--max-old-space-size=16384";
BAT_THEME = "base16";
GATSBY_TELEMETRY_DISABLED = "1";
EDITOR = "nvim";
VISUAL = "nvim";
};
environment.systemPackages = mkMerge [