From 655626c237d2f46627c765510b3a4cac7f91880c Mon Sep 17 00:00:00 2001 From: Bloxx12 Date: Sat, 19 Jul 2025 00:00:17 +0200 Subject: [PATCH] services/ssh: drop SSH_AUTH_SOCK env var, disable ssh.startAgent --- modules/services/ssh.mod.nix | 5 ----- 1 file changed, 5 deletions(-) diff --git a/modules/services/ssh.mod.nix b/modules/services/ssh.mod.nix index 248d54b..6fc4a76 100644 --- a/modules/services/ssh.mod.nix +++ b/modules/services/ssh.mod.nix @@ -3,11 +3,6 @@ in { options.modules.programs.ssh.enable = mkEnableOption "ssh"; config = { - # set the ssh socket globally. This alows all applications and shells to use - # the ssh-agent. - environment.sessionVariables.SSH_AUTH_SOCK = "/run/user/1000/ssh-agent"; - programs.ssh.startAgent = true; - services.openssh = { enable = true; ports = [22];