Skip to content

Commit

Permalink
security(EDITOR): by default, do not load neovim's user config
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan4yin committed Nov 25, 2024
1 parent cc44f41 commit 102ec54
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion home/base/tui/password-store/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ in {
"C2A313F98166C942" # S - Ryan Yin (For pass & ssh only) <[email protected]>
];
PASSWORD_STORE_CLIP_TIME = "60";
PASSWORD_STORE_GENERATED_LENGTH = "15";
PASSWORD_STORE_GENERATED_LENGTH = "12";
PASSWORD_STORE_ENABLE_EXTENSIONS = "true";
};
};
Expand Down
3 changes: 2 additions & 1 deletion modules/darwin/apps.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 102ec54

Please sign in to comment.