From 91d29b92122e444a3391d6dab0f91dc9c061d284 Mon Sep 17 00:00:00 2001 From: iFargle Date: Mon, 29 Jan 2024 17:58:53 +0900 Subject: [PATCH] 24.05 update --- nixos/common/services/openssh.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nixos/common/services/openssh.nix b/nixos/common/services/openssh.nix index a17d5e5d..b2b52859 100644 --- a/nixos/common/services/openssh.nix +++ b/nixos/common/services/openssh.nix @@ -2,7 +2,9 @@ # enable passwordless elevation # Useful for deploy-rs security.pam.enableSSHAgentAuth = true; - programs.ssh.startAgent = true; + security.pam.sshAgentAuth.enable = true; + # programs.ssh.startAgent = true; + # By default no ports are open. # When ./tailscale.nix is imported, port 22 on the tailscale interface is then opened. services.openssh = {