2026-03-25 22:55:15 -07:00
|
|
|
{...}: {
|
|
|
|
|
# set ssh profiles
|
|
|
|
|
# WARNING: this DOES NOT start the ssh-agent
|
|
|
|
|
# WARNING: for that you need to use `services.ssh-agent.enable`
|
|
|
|
|
programs.ssh = {
|
|
|
|
|
enable = true;
|
2026-03-26 16:28:53 +10:00
|
|
|
|
|
|
|
|
matchBlocks = {
|
|
|
|
|
# * block indicates defaults
|
|
|
|
|
"*" = {
|
|
|
|
|
forwardAgent = false;
|
|
|
|
|
addKeysToAgent = "yes";
|
|
|
|
|
};
|
|
|
|
|
};
|
2026-03-25 22:55:15 -07:00
|
|
|
};
|
|
|
|
|
}
|