Skip to content

Commit

Permalink
gdm: don't start getty@tty1 if enabled
Browse files Browse the repository at this point in the history
(cherry picked from commit 440178d)
  • Loading branch information
Lassulus authored and Mic92 committed Oct 30, 2017
1 parent 717030a commit e7842be
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nixos/modules/services/x11/display-managers/gdm.nix
Expand Up @@ -125,6 +125,8 @@ in
"getty@tty1.service"
];

systemd.services."getty@tty1".enable = false;
systemd.services.display-manager.conflicts = [ "getty@tty1.service" ];
systemd.services.display-manager.serviceConfig = {
# Restart = "always"; - already defined in xserver.nix
KillMode = "mixed";
Expand Down

0 comments on commit e7842be

Please sign in to comment.