From 489548310fa17ff9df9342fbffd38ac21ac74fc9 Mon Sep 17 00:00:00 2001 From: worldofpeace Date: Sat, 28 Sep 2019 17:21:57 -0400 Subject: nixos/iso-image: add menu entry to disable display-manager --- nixos/modules/installer/cd-dvd/iso-image.nix | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'nixos/modules/installer/cd-dvd/iso-image.nix') diff --git a/nixos/modules/installer/cd-dvd/iso-image.nix b/nixos/modules/installer/cd-dvd/iso-image.nix index 93c8ebaa249..d62db084458 100644 --- a/nixos/modules/installer/cd-dvd/iso-image.nix +++ b/nixos/modules/installer/cd-dvd/iso-image.nix @@ -284,6 +284,14 @@ let ${buildMenuAdditionalParamsGrub2 config "video=1920x1080@60"} } + # If we boot into a graphical environment where X is autoran + # and always crashes, it makes the media unusable. Allow the user + # to disable this. + submenu "Disable display-manager" --class quirk-disable-displaymanager { + ${grubMenuCfg} + ${buildMenuAdditionalParamsGrub2 config "systemd.mask=display-manager.service"} + } + # Some laptop and convertibles have the panel installed in an # inconvenient way, rotated away from the keyboard. # Those entries makes it easier to use the installer. -- cgit 1.4.1