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
This commit is contained in:
Pierre Chevalier
2017-11-19 19:35:37 +01:00
committed by Bjørn Forsman
parent 4e5725605b
commit 37875c4a77
@@ -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 ];