diff --git a/nix/darwin.nix b/nix/darwin.nix index a32b53d..62e581d 100644 --- a/nix/darwin.nix +++ b/nix/darwin.nix @@ -36,6 +36,17 @@ StandardErrorPath = "/tmp/ollama_boltless.err"; }; }; + # reference: https://gist.github.com/echo-dave/0d1ee6951c4e3bf00d738e84868e7d59 + ssh-use-keychain = { + serviceConfig = { + Label = "sshusekeychain"; + ProgramArguments = [ "bash" "-c" "ssh-add" "--apple-load-keychain" ]; + RunAtLoad = true; + KeepAlive = false; + StadardOutPath = "/var/log/sshusekeychain/usekeychain.log"; + StadardErrorPath = "/var/log/sshusekeychain/usekeychain.log"; + }; + }; }; # Necessary for using flakes on this system.