From 2264da520ba8bc72b645ee1267bad1b0a66135e4 Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Mon, 9 Jun 2025 19:58:33 +0200 Subject: [PATCH] do X11 forwarding as user to the BSDs --- share/common.nix | 4 ++++ share/home.nix | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/share/common.nix b/share/common.nix index d624cf4..8247098 100644 --- a/share/common.nix +++ b/share/common.nix @@ -230,6 +230,9 @@ in settings.Macs = [ "hmac-sha2-512-etm@openssh.com" ]; }; + # ensure ssh knows where xauth is for X11 forwarding + programs.ssh.setXAuthLocation = true; + # Set your time zone. time.timeZone = "Europe/Berlin"; @@ -416,6 +419,7 @@ in vscodium vulkan-tools wayland-utils + xorg.xauth xorg.xhost xorg.xlsclients zoxide diff --git a/share/home.nix b/share/home.nix index c3df19f..6a6647c 100644 --- a/share/home.nix +++ b/share/home.nix @@ -46,7 +46,7 @@ # ssh around in the local network beta = "ssh beta.fritz.box"; betaroot = "ssh root@beta.fritz.box"; - bsd = "ssh bsd.fritz.box"; + bsd = "ssh -X bsd.fritz.box"; bsdroot = "ssh root@bsd.fritz.box"; mac = "ssh mac.fritz.box"; macroot = "ssh root@mac.fritz.box"; @@ -54,7 +54,7 @@ mikuroot = "ssh root@miku.fritz.box"; neko = "ssh neko.fritz.box"; nekoroot = "ssh root@neko.fritz.box"; - puffy = "ssh puffy.fritz.box"; + puffy = "ssh -X puffy.fritz.box"; puffyroot = "ssh root@puffy.fritz.box"; star = "ssh star.babylon2k.com"; starroot = "ssh root@star.babylon2k.com";