From ba496e25c43bb6badcfb59c9ad48783b67c646fc Mon Sep 17 00:00:00 2001 From: Marc Weber Date: Wed, 14 Oct 2009 21:48:12 +0000 Subject: [PATCH] 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 --- modules/installer/cd-dvd/installation-cd-minimal.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/installer/cd-dvd/installation-cd-minimal.nix b/modules/installer/cd-dvd/installation-cd-minimal.nix index ae520e641016..29e6cc939ad1 100644 --- a/modules/installer/cd-dvd/installation-cd-minimal.nix +++ b/modules/installer/cd-dvd/installation-cd-minimal.nix @@ -8,6 +8,10 @@ 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. services.sshd.forwardX11 = false; services.dbus.enable = false; # depends on libX11