mirror of
https://github.com/srid/nixos-config.git
synced 2026-05-11 17:36:07 +08:00
Force passphrase always
This commit is contained in:
parent
8ebacc5c88
commit
b40c9342aa
2 changed files with 0 additions and 24 deletions
|
|
@ -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; };
|
||||
}
|
||||
|
|
@ -3,7 +3,6 @@
|
|||
imports = [
|
||||
./all/tmux.nix
|
||||
./all/neovim
|
||||
./all/ssh.nix
|
||||
./all/starship.nix
|
||||
./all/terminal.nix
|
||||
./all/nix.nix
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue