set $EDITOR to neovim

This commit is contained in:
uku 2023-11-25 16:28:23 +01:00
parent 2383b38858
commit 7c607c805f
Signed by: uku
GPG key ID: 7D01D7B105E77166
2 changed files with 11 additions and 9 deletions

View file

@ -10,10 +10,6 @@
hm.programs.fish = {
enable = true;
shellInit = ''
set -x EDTIOR nvim
'';
interactiveShellInit = with pkgs; ''
${lib.getExe starship} init fish | source
${lib.getExe nix-your-shell} fish | source

View file

@ -4,11 +4,17 @@
nixpkgs,
...
}: {
environment.systemPackages = with pkgs; [
neovim
git
curl
];
environment = {
systemPackages = with pkgs; [
neovim
git
curl
];
variables = {
EDITOR = lib.getExe pkgs.neovim;
};
};
programs = {
ssh.startAgent = true;