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
];
home.packages = with pkgs; [
home = {
packages = with pkgs; [
bottom
unstable.ncdu
neofetch
];
sessionVariables = {
EDITOR = "nvim";
VISUAL = "nvim";
};
};
programs.nix-index = {
enable = true;
enableZshIntegration = true;