From c7587b1e50d0c65c62c4f42a2e22d690560c325c Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Mon, 6 Nov 2023 16:50:13 -0800 Subject: use 1password ssh agent Enable ssh configuration on darwin. --- home/profiles/ssh.nix | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'home/profiles/ssh.nix') diff --git a/home/profiles/ssh.nix b/home/profiles/ssh.nix index 3aa286b..47aee8a 100644 --- a/home/profiles/ssh.nix +++ b/home/profiles/ssh.nix @@ -6,6 +6,9 @@ serverAliveInterval = 60; controlMaster = "auto"; controlPersist = "30m"; + extraConfig = '' + IdentityAgent "~/Library/Group Containers/2BUA8C4S2C.com.1password/t/agent.sock" + ''; matchBlocks = { "github.com" = { hostname = "github.com"; @@ -13,12 +16,6 @@ forwardAgent = false; extraOptions = { preferredAuthentications = "publickey"; }; }; - "rsync.net" = { - hostname = "de2664.rsync.net"; - user = "de2664"; - forwardAgent = false; - extraOptions = { preferredAuthentications = "publickey"; }; - }; }; }; } -- cgit 1.4.1