From 9a45544366b8eec29215c40fa8f0e462ba25f807 Mon Sep 17 00:00:00 2001 From: fredrikr79 Date: Thu, 30 Oct 2025 10:40:31 +0100 Subject: [PATCH] fix ssh-agent fr --- configuration.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/configuration.nix b/configuration.nix index be017bc..cf5a8e4 100644 --- a/configuration.nix +++ b/configuration.nix @@ -565,7 +565,13 @@ in }; }; - programs.ssh.startAgent = true; + programs.ssh = { + startAgent = true; + agentTimeout = "1h"; + extraConfig = '' + AddKeysToAgent yes + ''; + }; powerManagement.powertop.enable = true; # services.auto-cpufreq.enable = true;