summary refs log tree commit diff stats
path: root/user/settings/darwin.nix
diff options
context:
space:
mode:
authorAlan Pearce2024-11-11 22:13:27 +0100
committerAlan Pearce2024-11-12 15:14:37 +0100
commit76e18cffd04b20e9aa353df24f34cb7fceb6257f (patch)
tree4aa7b3ca59b61a37b4d2913863b78147136e4532 /user/settings/darwin.nix
parent0c702c1ea19484f07996d98b608090989701fd23 (diff)
downloadnixfiles-76e18cffd04b20e9aa353df24f34cb7fceb6257f.tar.lz
nixfiles-76e18cffd04b20e9aa353df24f34cb7fceb6257f.tar.zst
nixfiles-76e18cffd04b20e9aa353df24f34cb7fceb6257f.zip
marvin: switch back to ssh keys in secure enclave
Diffstat (limited to 'user/settings/darwin.nix')
-rw-r--r--user/settings/darwin.nix14
1 files changed, 1 insertions, 13 deletions
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