about summary refs log tree commit diff
path: root/users/wpcarro
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2021-12-24T18·14-0500
committerclbot <clbot@tvl.fyi>2021-12-24T18·17+0000
commitfcb1c375fc678ccf306b8d4c886206a66b6d605c (patch)
treee7342e4f43e684835f8e7e4ceb29166e4204f068 /users/wpcarro
parentfbfce6c2a0f08176194c39777d62c325ebb3fe5e (diff)
feat(wpcarro/diogenes): Enable ssh-agent r/3359
Change-Id: I38fe1fcf4be2423acc29c43449cb778c8890df01
Reviewed-on: https://cl.tvl.fyi/c/depot/+/4581
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
Tested-by: BuildkiteCI
Diffstat (limited to 'users/wpcarro')
-rw-r--r--users/wpcarro/nixos/diogenes/default.nix6
1 files changed, 6 insertions, 0 deletions
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