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
commit37875c4a779def00b4374282543438f1532d10db
authorPierre Chevalier <pierrechevalier83@gmail.com>
dateSun 19 Nov 2017, 10:37 (9 years ago)
parent4e57256
pkgs/desktops/gnome-3/core/gdm/default.nix+1
@@ -14,6 +14,7 @@ stdenv.mkDerivation rec {
1414 configureFlags = [ "--sysconfdir=/etc"
1515 "--localstatedir=/var"
1616 "--with-plymouth=yes"
17+ "--with-initial-vt=7"
1718 "--with-systemdsystemunitdir=$(out)/etc/systemd/system" ];
1819
1920 nativeBuildInputs = [ autoreconfHook pkgconfig ];