flake/homes/lorkan/modules/cli/ssh.nix

17 lines
336 B
Nix
Raw Permalink Normal View History

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
};
}