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 = { hm.programs.fish = {
enable = true; enable = true;
shellInit = ''
set -x EDTIOR nvim
'';
interactiveShellInit = with pkgs; '' interactiveShellInit = with pkgs; ''
${lib.getExe starship} init fish | source ${lib.getExe starship} init fish | source
${lib.getExe nix-your-shell} fish | source ${lib.getExe nix-your-shell} fish | source

View file

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