From dd760bac9c0337a747ed6a6fcdf95e689818deb6 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 22 Jan 2013 12:52:13 +0100 Subject: [PATCH] Fix help message --- modules/profiles/installation-device.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/modules/profiles/installation-device.nix b/modules/profiles/installation-device.nix index 83416f49d88..2ed5a63887f 100644 --- a/modules/profiles/installation-device.nix +++ b/modules/profiles/installation-device.nix @@ -117,10 +117,8 @@ in '' Log in as "root" with an empty password. ${ - if config.services.xserver.enable then - "Type `start xserver' to start\nthe graphical user interface." - else "" - } + optionalString config.services.xserver.enable + "Type `start display-manager' to\nstart the graphical user interface."} ''; # Allow sshd to be started manually through "start sshd". It should