Skip to content

Commit

Permalink
fix(nixos): neovim as default editor instead of nano
Browse files Browse the repository at this point in the history
sometimes it seems that the nixos default EDITOR env var bleeds into the
user env? I haven't get to properly debug it, but I imagine it comes
from /etc/profile

anyway,this makes sure to set neovim.

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
  • Loading branch information
caarlos0 committed Nov 28, 2023
1 parent 7c5a9ce commit 309ea39
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion machines/shared.nix
Original file line number Diff line number Diff line change
Expand Up @@ -105,11 +105,15 @@
curl
git
jq
neovim
unzip
wget
];

programs.neovim = {
enable = true;
defaultEditor = true;
};

programs.fish.enable = true;

services.openssh.enable = true;
Expand Down

0 comments on commit 309ea39

Please sign in to comment.