From 326e975fe336c5964d967511dc938ee7801a7af8 Mon Sep 17 00:00:00 2001 From: uku Date: Sat, 17 Feb 2024 13:18:26 +0100 Subject: [PATCH] add ssh key to agent (somewhat) automatically --- configs/common.nix | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/configs/common.nix b/configs/common.nix index 5513556..1916c39 100644 --- a/configs/common.nix +++ b/configs/common.nix @@ -50,8 +50,15 @@ in { }; }; - hm.home = { - inherit stateVersion; + hm = { + home = {inherit stateVersion;}; + + programs.keychain = { + enable = true; + agents = ["ssh"]; + inheritType = "any"; + keys = ["id_ed25519"]; + }; }; home-manager = {