From 37875c4a779def00b4374282543438f1532d10db Mon Sep 17 00:00:00 2001 From: Pierre Chevalier Date: Sun, 19 Nov 2017 10:37:50 +0000 Subject: [PATCH] gdm: start gdm on tty7 rather than default tty1 - Fixes nixos-rebuild switch/test issue with GNOME https://github.com/NixOS/nixpkgs/issues/21439 - The solution was given here: https://github.com/deedrah/nixpkgs/commit/d761e66a41e09bb0a1ebe31612f3678f9ba801a1#commitcomment-25382880 --- pkgs/desktops/gnome-3/core/gdm/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/desktops/gnome-3/core/gdm/default.nix b/pkgs/desktops/gnome-3/core/gdm/default.nix index 09e27e7c0c5..ee7d9975b76 100644 --- a/pkgs/desktops/gnome-3/core/gdm/default.nix +++ b/pkgs/desktops/gnome-3/core/gdm/default.nix @@ -14,6 +14,7 @@ stdenv.mkDerivation rec { configureFlags = [ "--sysconfdir=/etc" "--localstatedir=/var" "--with-plymouth=yes" + "--with-initial-vt=7" "--with-systemdsystemunitdir=$(out)/etc/systemd/system" ]; nativeBuildInputs = [ autoreconfHook pkgconfig ];