mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-22 00:03:55 +01:00
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:
parent
482c7a18e0
commit
fbb09fea48
@ -86,6 +86,7 @@ in
|
||||
|
||||
programs.neovim = {
|
||||
enable = true;
|
||||
defaultEditor = true;
|
||||
|
||||
extraPackages = with pkgs; [
|
||||
nodePackages.typescript-language-server
|
||||
|
@ -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 [
|
||||
|
Loading…
Reference in New Issue
Block a user