diff options
author | Tor Hedin Brønner <torhedinbronner@gmail.com> | 2019-10-11 20:07:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-11 20:07:16 +0200 |
commit | 5b7c90019251437ec8692ca8102613614a70b3bd (patch) | |
tree | 5b8198bc3081738ed7b3260cd45ca15d6db0077e /pkgs/desktops | |
parent | fb5f649bc9879207a81c4d4e42f0d823385061e6 (diff) |
nixos/gdm: do not restart on reload switch (#70357)
Not entirely sure how this works, but this does seem to fix reload switch killing the current graphical session.
Diffstat (limited to 'pkgs/desktops')
-rw-r--r-- | pkgs/desktops/gnome-3/core/gdm/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/desktops/gnome-3/core/gdm/default.nix b/pkgs/desktops/gnome-3/core/gdm/default.nix index b8a5d70e9d25e..9d1602dfccd3a 100644 --- a/pkgs/desktops/gnome-3/core/gdm/default.nix +++ b/pkgs/desktops/gnome-3/core/gdm/default.nix @@ -31,12 +31,14 @@ stdenv.mkDerivation rec { substituteInPlace ./configure --replace "/usr/bin/X" "${xorg.xorgserver.out}/bin/X" ''; + initialVT = "7"; + configureFlags = [ "--sysconfdir=/etc" "--localstatedir=/var" "--with-plymouth=yes" "--enable-gdm-xsession" - # "--with-initial-vt=7" + "--with-initial-vt=${initialVT}" "--with-systemdsystemunitdir=$(out)/etc/systemd/system" "--with-udevdir=$(out)/lib/udev" ]; |