From 3f7d351186eb00203e3c5e9e7eacee4f3956aa1c Mon Sep 17 00:00:00 2001 From: Erwin Boskma Date: Fri, 9 Dec 2022 10:39:03 +0100 Subject: [PATCH] Forward SSH agent by default --- home-manager/modules/ssh/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/home-manager/modules/ssh/default.nix b/home-manager/modules/ssh/default.nix index 68aa434..eb0f82e 100644 --- a/home-manager/modules/ssh/default.nix +++ b/home-manager/modules/ssh/default.nix @@ -19,6 +19,7 @@ in "*" = { identityFile = if var.workSystem then horusKey else personalKey; identitiesOnly = true; + forwardAgent = true; extraOptions = { Ciphers = "chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr"; KexAlgorithms = "curve25519-sha256,curve25519-sha256@libssh.org,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group-exchange-sha256";