21 lines
323 B
Nix
21 lines
323 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;
|
|
};
|
|
|
|
include ./ssh-hosts.nix
|
|
};
|
|
};
|
|
}
|