Make ssh agent settings autoheal in tmux.
This commit is contained in:
@@ -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;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user