--- /dev/null
+[[!comment format=mdwn
+ username="pweemeeuw@86491f921da15d6a4dc6e1878fd42750b33f6963"
+ nickname="pweemeeuw"
+ subject="just FYI"
+ date="2015-11-30T08:05:35Z"
+ content="""
+As I tried to set this up for myself, this what I did to get it working with a nixos ssh server:
+
+I put the following in _~/.ssh/rc_:
+
+ PATH=$HOME/bin:$HOME/.nix-profile/bin:/run/current-system/sw/bin
+
+As which is an alias (and hence still doesn't work for 'ssh foo which rsync'), I added a shell script named _which_:
+
+ #!/run/current-system/sw/bin/bash
+ type -P $@
+
+"""]]