From 1efca3062d1199190e980a26715d35060fa7fb6a Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 30 Oct 2023 09:34:29 +0100 Subject: darwin: set SSH auth socket just once --- user/settings/darwin.nix | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'user') diff --git a/user/settings/darwin.nix b/user/settings/darwin.nix index a43ab3b5..228c4214 100644 --- a/user/settings/darwin.nix +++ b/user/settings/darwin.nix @@ -46,8 +46,6 @@ "setenv" "XDG_CACHE_HOME" config.xdg.cacheHome - "SSH_AUTH_SOCK" - config.home.sessionVariables.SSH_AUTH_SOCK ]; RunAtLoad = true; StandardErrorPath = "/dev/null"; @@ -119,11 +117,8 @@ stat = "stat -x"; }; - home.sessionVariables = { - SSH_AUTH_SOCK = "~/.strongbox/agent.sock"; - }; programs.ssh.extraConfig = '' - IdentityAgent ${config.home.sessionVariables.SSH_AUTH_SOCK} + IdentityAgent "~/.strongbox/agent.sock" ''; home.activation.linkStrongboxSSHAgentSocket = lib.hm.dag.entryAfter [ "writeBoundary" ] '' -- cgit 1.4.1