ssh-agent

This commit is contained in:
Casper V. Kristensen 2023-08-13 19:28:52 +02:00
parent bd6b30dbe7
commit cd89679750

View file

@ -4,6 +4,7 @@
home-manager.users.caspervk = {
programs.ssh = {
enable = true;
controlMaster = "yes";
matchBlocks = {
"delta" = {
hostname = "delta.caspervk.net";
@ -25,6 +26,13 @@
port = 2222;
};
};
extraConfig = ''
AddKeysToAgent yes
'';
};
};
programs.ssh = {
startAgent = true;
};
}