mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
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
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue