From 35ec61575d0b601b4fce2866b731cd991d391747 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Sun, 10 Sep 2023 17:13:13 -0600 Subject: [PATCH] [NixOS] Enable X11 forwarding over ssh --- nixos/ssh.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nixos/ssh.nix b/nixos/ssh.nix index 0c038074..d68bef43 100644 --- a/nixos/ssh.nix +++ b/nixos/ssh.nix @@ -20,10 +20,13 @@ enable = true; settings = { PasswordAuthentication = false; + X11Forwarding = true; }; }; programs.ssh = { + forwardX11 = true; + setXAuthLocation = true; knownHosts = { github = { hostNames = ["github.com"];