mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
Fix kmscon evaluation
This commit is contained in:
parent
238a98fcbe
commit
b13a5d4cca
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user