From 09e9140850b8552bbf467867f895f0dd4f2ce741 Mon Sep 17 00:00:00 2001 From: iFargle Date: Wed, 13 Dec 2023 21:27:28 +0900 Subject: [PATCH] Update bash --- home-manager/common/software/cli/bash.nix | 1 + nixos/common/services/openssh.nix | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/home-manager/common/software/cli/bash.nix b/home-manager/common/software/cli/bash.nix index 54df6a63..ab191bfb 100644 --- a/home-manager/common/software/cli/bash.nix +++ b/home-manager/common/software/cli/bash.nix @@ -34,6 +34,7 @@ enableCompletion = true; initExtra = '' GPG_TTY=$(tty) + ssh-add ''; sessionVariables = { # Set the GTK Theme diff --git a/nixos/common/services/openssh.nix b/nixos/common/services/openssh.nix index 50561da4..a17d5e5d 100644 --- a/nixos/common/services/openssh.nix +++ b/nixos/common/services/openssh.nix @@ -3,7 +3,6 @@ # Useful for deploy-rs security.pam.enableSSHAgentAuth = true; programs.ssh.startAgent = true; - programs.ssh.agentTimeout = "1h"; # By default no ports are open. # When ./tailscale.nix is imported, port 22 on the tailscale interface is then opened. services.openssh = {