@@ -98,22 +98,11 @@ in
9898 '') config.i18n.consoleColors}
9999 '';
100100
101− /* XXX: systemd-vconsole-setup needs a "main" terminal. By default
102− * /dev/tty0 is used which wouldn't work when the service is restarted
103− * from X11. We set this to /dev/tty1; not ideal because it may also be
104− * owned by X11 or something else.
105− *
106− * See #22470.
107− */
108101 systemd.services."systemd-vconsole-setup" =
109102 { wantedBy = [ "sysinit.target" ];
110103 before = [ "display-manager.service" ];
111104 after = [ "systemd-udev-settle.service" ];
112105 restartTriggers = [ vconsoleConf kbdEnv ];
113− serviceConfig.ExecStart = [
114− ""
115− "${pkgs.systemd}/lib/systemd/systemd-vconsole-setup /dev/tty1"
116− ];
117106 };
118107 }
119108