nixos/gdm: start after getty@tty1

GDM is now killed if tty1 is started after gdm is launched. This follows
upstream's gdm service config.

This might cause problems with nixos-rebuild switch though. See the reasoning
and work that led to not following upstream on this:
  https://github.com/NixOS/nixpkgs/issues/21439
  4a180da
  c46d4da
wip/yesman
Tor Hedin Brønner 5 years ago
parent 90b0e3c19f
commit fc43be57f0
  1. 4
      nixos/modules/services/x11/display-managers/gdm.nix

@ -159,6 +159,10 @@ in
"rc-local.service"
"systemd-machined.service"
"systemd-user-sessions.service"
"getty@tty1.service"
];
systemd.services.display-manager.conflicts = [
"getty@tty1.service"
];
systemd.services.display-manager.serviceConfig = {

Loading…
Cancel
Save