allow starting of sshd using "start sshd" - but don't start it on
startup automatically because root password is empty by default. svn path=/nixos/trunk/; revision=17811
This commit is contained in:
parent
e611266285
commit
ba496e25c4
@ -8,6 +8,10 @@
|
|||||||
|
|
||||||
installer.configModule = "./nixos/modules/installer/cd-dvd/installation-cd-minimal.nix";
|
installer.configModule = "./nixos/modules/installer/cd-dvd/installation-cd-minimal.nix";
|
||||||
|
|
||||||
|
# allow starting sshd by running "start sshd"
|
||||||
|
services.sshd.enable = true;
|
||||||
|
jobs.sshd.startOn = "never-start-ssh-automatically-you-should-set-root-password-first";
|
||||||
|
|
||||||
# Don't include X libraries.
|
# Don't include X libraries.
|
||||||
services.sshd.forwardX11 = false;
|
services.sshd.forwardX11 = false;
|
||||||
services.dbus.enable = false; # depends on libX11
|
services.dbus.enable = false; # depends on libX11
|
||||||
|
Loading…
x
Reference in New Issue
Block a user