Force passphrase always

This commit is contained in:
Sridhar Ratnakumar 2025-08-28 22:58:17 -04:00
parent 8ebacc5c88
commit b40c9342aa
2 changed files with 0 additions and 24 deletions

View file

@ -1,23 +0,0 @@
{ pkgs, lib, ... }:
{
programs.ssh = {
enable = true;
enableDefaultConfig = false;
# Explicitly set default SSH configuration
matchBlocks = {
"*" = {
addKeysToAgent = "yes";
setEnv = {
# https://ghostty.org/docs/help/terminfo#configure-ssh-to-fall-back-to-a-known-terminfo-entry
TERM = "xterm-256color";
};
};
pureintent = {
forwardAgent = true;
};
};
};
services.ssh-agent = lib.mkIf pkgs.stdenv.isLinux { enable = true; };
}

View file

@ -3,7 +3,6 @@
imports = [
./all/tmux.nix
./all/neovim
./all/ssh.nix
./all/starship.nix
./all/terminal.nix
./all/nix.nix