nichts/modules/home-manager/ssh.nix
2026-05-24 21:57:01 +02:00

19 lines
292 B
Nix

{ ... }:
{
services.ssh-agent.enable = true;
home.sessionVariables = {
SSH_AUTH_SOCK = "$XDG_RUNTIME_DIR/ssh-agent";
};
programs.ssh = {
enable = true;
enableDefaultConfig = false;
matchBlocks = {
"*" = {
identitiesOnly = true;
};
};
};
}