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 = {
|
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
|
||||||
|
|
|
@ -4,11 +4,17 @@
|
||||||
nixpkgs,
|
nixpkgs,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
environment.systemPackages = with pkgs; [
|
environment = {
|
||||||
neovim
|
systemPackages = with pkgs; [
|
||||||
git
|
neovim
|
||||||
curl
|
git
|
||||||
];
|
curl
|
||||||
|
];
|
||||||
|
|
||||||
|
variables = {
|
||||||
|
EDITOR = lib.getExe pkgs.neovim;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
ssh.startAgent = true;
|
ssh.startAgent = true;
|
||||||
|
|
Loading…
Reference in a new issue