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

@@ -33,7 +33,7 @@ in {
"C2A313F98166C942" # S - Ryan Yin (For pass & ssh only) <ryan4yin@linux.com>
];
PASSWORD_STORE_CLIP_TIME = "60";
PASSWORD_STORE_GENERATED_LENGTH = "15";
PASSWORD_STORE_GENERATED_LENGTH = "12";
PASSWORD_STORE_ENABLE_EXTENSIONS = "true";
};
};

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;