From 7fc69af332ce1943e8c54dd88b05f945865572c6 Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Sun, 19 Jan 2025 14:28:48 -0500 Subject: [PATCH] glonal/keychain: fix ssh agent and allow inheritance --- users/modules/global/keychain.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/users/modules/global/keychain.nix b/users/modules/global/keychain.nix index 01cef80..a3b365e 100644 --- a/users/modules/global/keychain.nix +++ b/users/modules/global/keychain.nix @@ -1,9 +1,11 @@ { config, ... }: { + services.ssh-agent.enable = true; + programs.keychain = { enable = true; + inheritType = "any"; extraFlags = [ "--quiet" "--dir ${config.xdg.configHome}/keychain" ]; - keys = [ "id_ed25519" ]; }; }