Closed LovingMelody closed 8 months ago
Thanks! Works great.
One thing I find strange is that after activating the home configuration, ~/.ssh/config
is nowhere to be found (even though it should have been created) - yet I can ssh to these hosts by their alias in the config. /etc/ssh
doesn't contain my config either.
Oh wait, ssh is probably using some other host cache (even across reboot of the mac). Settings like ForwardAgent
, however, are not being used after this PR.
Alright, we just need programs.ssh.enable = true;
.
For the record, I don't have permissions to push commits to your branch, so I'll open a new PR with additional commits of my own.
I have added the requested changes, please adjust the ForwardAgent as you would like. Just as a note, identityAgent will require that 1password is installed unless you override it. You may wish to make 1password optional as a whole as I have done in my config but that is out of scope for this PR.
This commit nixify's the .ssh/config using home-manager resolves #36