From 8e937d248caa74857c14e6fad37b495b04be0787 Mon Sep 17 00:00:00 2001 From: chase Date: Sun, 19 Oct 2025 18:43:44 -0400 Subject: [PATCH] ssh agent stuff, add nixarr host --- nixos/base.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/nixos/base.nix b/nixos/base.nix index f818278..50bcb22 100644 --- a/nixos/base.nix +++ b/nixos/base.nix @@ -141,6 +141,11 @@ programs.ssh = { enableAskPassword = false; forwardX11 = true; + extraConfig = '' + Host nixarr + Hostname 192.168.1.165 + ForwardAgent yes + ''; }; sops = { @@ -220,6 +225,7 @@ services.openssh = { enable = true; settings = { + AllowAgentForwarding = true; PermitRootLogin = "no"; PasswordAuthentication = false; KbdInteractiveAuthentication = false;