system-manager icon indicating copy to clipboard operation
system-manager copied to clipboard

The option 'services.sshd' does not exist...

Open DrVoidest opened this issue 1 year ago • 2 comments

Describe the bug I am trying to configure ssh using system-manager and can't seem to find where you put it. I have tried under config, evironment, etc, and systemd.services. Since ssh stores its config under /etc/ssh/sshd_config I assume its supported.

To Reproduce

Steps to reproduce the behavior: Put anywhere in the config services.sshd.enable = true;

Expected behavior Enables an open ssh server.

System information

Ubuntu 24.04 - fresh install

Additional context

I would like to use it to replace old versions of ssh on legacy systems then set the ssh config. I am only testing this on Ubuntu now though.

DrVoidest avatar Oct 13 '24 19:10 DrVoidest

Yeah, we need to include the ssh module from nixpkgs, or write a custom one, But neither is trivial currently. I'd be happy to review a PR for this though, or I might get to it at some point.

r-vdp avatar Nov 08 '24 12:11 r-vdp

I'm an inexperienced dev, but I will try taking a wack at it.

DrVoidest avatar Nov 08 '24 13:11 DrVoidest