From 859b016779b1f5eaedca7e34acc241677ca3d66d Mon Sep 17 00:00:00 2001 From: SebastianStork Date: Tue, 30 Apr 2024 12:31:38 +0200 Subject: [PATCH] Auto add ssh-keys to ssh-agent --- modules/home/ssh-client.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/home/ssh-client.nix b/modules/home/ssh-client.nix index 3e0bc5c..5e177bf 100644 --- a/modules/home/ssh-client.nix +++ b/modules/home/ssh-client.nix @@ -8,6 +8,8 @@ config = lib.mkIf config.myConfig.ssh-client.enable { programs.ssh = { enable = true; + + addKeysToAgent = "confirm"; }; services.ssh-agent.enable = true;