mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-04-26 20:28:41 +02: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 = {
|
programs.neovim = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
defaultEditor = true;
|
||||||
|
|
||||||
extraPackages = with pkgs; [
|
extraPackages = with pkgs; [
|
||||||
nodePackages.typescript-language-server
|
nodePackages.typescript-language-server
|
||||||
|
@ -16,8 +16,6 @@ in
|
|||||||
NODE_OPTIONS = "--max-old-space-size=16384";
|
NODE_OPTIONS = "--max-old-space-size=16384";
|
||||||
BAT_THEME = "base16";
|
BAT_THEME = "base16";
|
||||||
GATSBY_TELEMETRY_DISABLED = "1";
|
GATSBY_TELEMETRY_DISABLED = "1";
|
||||||
EDITOR = "nvim";
|
|
||||||
VISUAL = "nvim";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = mkMerge [
|
environment.systemPackages = mkMerge [
|
||||||
|
Loading…
Reference in New Issue
Block a user