Open Pablo1107 opened 9 months ago
See #203
Seems that PR was abandoned by the original author. I'll try to take a look if I have a chance. Thank you!
Thanks to the wiki, i was able to successfully install an SSH server !
Cool! I had to remove the option -D # don't detach into a daemon process
because it would stay stuck on that step, and without it seems to get stuck when I run exit
so I have to kill the app.
added your sshd-start
to the startup files of bash and zsh with home-manager, and it works great
# For starting the ssh server
programs.zsh = {
initExtra = ''
sshd-start
'';
};
programs.bash = {
initExtra = ''
sshd-start
'';
};
with your config i can connect to my phone from my PC through something like ssh nix-on-droid@192.168.1.254 -p 8022
Currently there is an article on the wiki stating how to manually set up an ssh daemon. Maybe this can be ported into a
nix-on-droid
module.I may create a PR for this if you think this would be a nice-to-have.