security(EDITOR): by default, do not load neovim's user config

This commit is contained in:
Ryan Yin
2024-11-25 20:17:26 +08:00
parent cc44f41584
commit 102ec54f82
2 changed files with 3 additions and 2 deletions

View File

@@ -73,7 +73,8 @@ in {
# Fix https://github.com/LnL7/nix-darwin/wiki/Terminfo-issues
TERMINFO_DIRS = map (path: path + "/share/terminfo") config.environment.profiles ++ ["/usr/share/terminfo"];
EDITOR = "nvim";
# for security reasons, do not load neovim's user config
EDITOR = "nvim --clean";
}
# Set variables for you to manually install homebrew packages.
// homebrew_mirror_env;