nix-config/configs/home-manager/ssh-agent.nix

12 lines
176 B
Nix
Raw Permalink Normal View History

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