home: set editor envvars

This commit is contained in:
Felix Albrigtsen 2024-08-28 19:49:54 +02:00
parent 0a52566295
commit aeb9014815
1 changed files with 12 additions and 5 deletions

View File

@ -5,12 +5,19 @@
./zsh.nix ./zsh.nix
]; ];
home.packages = with pkgs; [ home = {
packages = with pkgs; [
bottom bottom
unstable.ncdu unstable.ncdu
neofetch neofetch
]; ];
sessionVariables = {
EDITOR = "nvim";
VISUAL = "nvim";
};
};
programs.nix-index = { programs.nix-index = {
enable = true; enable = true;
enableZshIntegration = true; enableZshIntegration = true;