fix(pm/josh): fix josh ssh forwarding #124

closed
opened by a.starrysky.fyi targeting main from private/minion/push-oqywmpqruopz

I think this may be due to the recent 25.11 updates, but I'm not entirely sure.

sshd started to create forwarded agents under $HOME. This broke Josh since as home was /var/empty, so forwarding was impossible, resulting in this error:

debug1: Requesting authentication agent forwarding.

... 8< -- snip -- 8< ...

debug1: Remote: Agent forwarding disabled: couldn't create listener socket

Creating a home for Josh fixes this

Changed files
+2
packetmix
systems
teal
+2
packetmix/systems/teal/josh.nix
··· 17 17 isSystemUser = true; 18 18 group = "git"; 19 19 shell = "${josh}/bin/josh-ssh-shell"; 20 + createHome = true; 21 + home = "/var/lib/josh/home"; 20 22 }; 21 23 users.groups.git = { }; 22 24