Files
home-manager/tests/modules/services/ssh-tpm-agent/default.nix
T
Benedikt RipsandAustin Horstman a61b22e323 ssh_auth_sock: init module
`$SSH_AUTH_SOCK` must not be set unconditionally through
'home.sessionVariables' since its value needs to be preserved if it
stems from a forwarded SSH agent. Hence, this commit establishes a
centralized, internal 'ssh_auth_sock.initialization' option for setting
`$SSH_AUTH_SOCK`. It checks whether its value has to be preserved and
injects the initialization code into the proper
'programs.(bash|fish|nushell|zsh).*' options.
2026-04-03 21:15:34 -05:00

8 lines
239 B
Nix

{ lib, pkgs, ... }:
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
ssh-tpm-agent-as-ssh-agent-proxy = ./as-ssh-agent-proxy.nix;
ssh-tpm-agent-ssh_auth_sock = ./ssh_auth_sock.nix;
ssh-tpm-agent-standalone = ./standalone.nix;
}