Fix kmscon evaluation

This commit is contained in:
Eelco Dolstra 2014-03-12 21:00:59 +01:00
parent 238a98fcbe
commit b13a5d4cca

View File

@ -44,6 +44,7 @@ in {
After=systemd-user-sessions.service After=systemd-user-sessions.service
After=plymouth-quit-wait.service After=plymouth-quit-wait.service
After=systemd-logind.service After=systemd-logind.service
After=systemd-vconsole-setup.service
Requires=systemd-logind.service Requires=systemd-logind.service
Before=getty.target Before=getty.target
Conflicts=getty@%i.service Conflicts=getty@%i.service
@ -62,11 +63,9 @@ in {
X-RestartIfChanged=false X-RestartIfChanged=false
''; '';
systemd.units."autovt@.service".baseUnit = "${config.systemd.units."kmsconvt@.service".unit}/kmsconvt@.service"; systemd.services."autovt@".baseUnit = "${config.systemd.units."kmsconvt@.service".unit}/kmsconvt@.service";
systemd.services."systemd-vconsole-setup".restartIfChanged = false; systemd.services.systemd-vconsole-setup.restartIfChanged = false;
systemd.units."kmsconvt@tty1.service".extraConfig.wait-for-vconsole-setup = "After=systemd-vconsole-setup.service";
services.kmscon.extraConfig = mkIf cfg.hwRender '' services.kmscon.extraConfig = mkIf cfg.hwRender ''
drm drm