From 76e18cffd04b20e9aa353df24f34cb7fceb6257f Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 11 Nov 2024 22:13:27 +0100 Subject: marvin: switch back to ssh keys in secure enclave --- user/settings/darwin.nix | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'user/settings') diff --git a/user/settings/darwin.nix b/user/settings/darwin.nix index 1a30a870..f445e5cb 100644 --- a/user/settings/darwin.nix +++ b/user/settings/darwin.nix @@ -118,19 +118,7 @@ }; programs.ssh.extraConfig = '' - IdentityAgent "~/.strongbox/agent.sock" - ''; - - home.activation.linkStrongboxSSHAgentSocket = lib.hm.dag.entryAfter [ "writeBoundary" ] '' - if [[ ! -d ~/.strongbox ]] - then - $DRY_RUN_CMD mkdir ~/.strongbox - fi - if [[ ! -S ~/.strongbox/agent.sock ]] - then - $DRY_RUN_CMD ln -s $VERBOSE_ARG \ - ~/Library/Group\ Containers/group.strongbox.mac.mcguill/agent.sock ~/.strongbox/agent.sock - fi + IdentityAgent ~/Library/Containers/com.maxgoedjen.Secretive.SecretAgent/Data/socket.ssh ''; # Use GPG from GPGTools -- cgit 1.4.1