From 3b55c26a2c1e75b4e5c6ccaa01112a603e20f4ac Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Mon, 3 Jun 2024 03:58:13 +0000 Subject: [PATCH] [NixOS] Enable ssh agent auth --- nixos/ssh.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nixos/ssh.nix b/nixos/ssh.nix index 563a0571..c73b8d9a 100644 --- a/nixos/ssh.nix +++ b/nixos/ssh.nix @@ -1,5 +1,6 @@ { config, pkgs, ... }: { + security.pam.sshAgentAuth.enable = true; services.avahi = { enable = true; nssmdns4 = true; @@ -25,7 +26,7 @@ }; programs.ssh = { - forwardX11 = true; + forwardX11 = false; setXAuthLocation = true; knownHosts = { github = {