set $EDITOR to neovim
This commit is contained in:
parent
2383b38858
commit
7c607c805f
2 changed files with 11 additions and 9 deletions
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue