nix-config/modules/home-manager/terminal/ssh-agent.nix
2024-03-31 16:23:56 -05:00

12 lines
176 B
Nix

{
config,
pkgs,
lib,
...
}: {
services.ssh-agent.enable = true;
programs.nushell.extraEnv = ''
$env.SSH_AUTH_SOCK = $"($env.XDG_RUNTIME_DIR)/ssh-agent"
'';
}