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