Make ssh agent settings autoheal in tmux.

This commit is contained in:
2025-10-29 20:55:46 +00:00
parent da85ee776d
commit 9415a8ece2
2 changed files with 8 additions and 1 deletions

View File

@@ -26,5 +26,11 @@
shellAliases = {
reload-home-manager-config = "home-manager switch --flake ${builtins.toString ./.}";
};
file.".ssh/rc".text = ''
#!/bin/sh
ln -sf "$SSH_AUTH_SOCK" "$HOME/.ssh/ssh_auth_sock"
'';
file.".ssh/rc".executable = true;
};
}