I don't have Python installed globally on my NixOS server so it would be nice if the following command just worked out of the box:
client$ sshuttle --dns -r <server> 0.0.0.0/0
Instead I need to first connect to <server> and get the path to Python:
server$ nix build nixpkgs#python3 --print-out-paths
/nix/store/3p3agnh4792y8bgjp0s8xx5bym1ahpks-python3-3.12.9
Then I can pass it using --python:
client$ sshuttle --dns -r <server> 0.0.0.0/0 --python /nix/store/3p3agnh4792y8bgjp0s8xx5bym1ahpks-python3-3.12.9/bin/python
I don't have Python installed globally on my NixOS server so it would be nice if the following command just worked out of the box:
Instead I need to first connect to
<server>and get the path to Python:Then I can pass it using
--python: