forked from mirrors/nixpkgs
kmscon: Don't re-run systemd-vconsole-setup after boot, and let tty1 wait for vconsole setup
Signed-off-by: Shea Levy <shea@shealevy.com>
This commit is contained in:
parent
ca7805be94
commit
d454e094ef
|
@ -64,6 +64,10 @@ in {
|
|||
|
||||
systemd.units."autovt@.service".linkTarget = "${config.systemd.units."kmsconvt@.service".unit}/kmsconvt@.service";
|
||||
|
||||
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 ''
|
||||
drm
|
||||
hwaccel
|
||||
|
|
Loading…
Reference in a new issue