From fcb1c375fc678ccf306b8d4c886206a66b6d605c Mon Sep 17 00:00:00 2001 From: William Carroll Date: Fri, 24 Dec 2021 13:14:24 -0500 Subject: feat(wpcarro/diogenes): Enable ssh-agent Change-Id: I38fe1fcf4be2423acc29c43449cb778c8890df01 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4581 Reviewed-by: wpcarro Autosubmit: wpcarro Tested-by: BuildkiteCI --- users/wpcarro/nixos/diogenes/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'users') diff --git a/users/wpcarro/nixos/diogenes/default.nix b/users/wpcarro/nixos/diogenes/default.nix index 5bcf404127a3..64ba5f1bfd09 100644 --- a/users/wpcarro/nixos/diogenes/default.nix +++ b/users/wpcarro/nixos/diogenes/default.nix @@ -50,6 +50,12 @@ in { sudo.wheelNeedsPassword = false; }; + programs.ssh = { + startAgent = true; + extraConfig = '' + AddKeysToAgent yes + ''; + }; environment.systemPackages = with pkgs; [ fd -- cgit 1.4.1