From d454e094ef23b9f36708adfeac4109fe148df98e Mon Sep 17 00:00:00 2001 From: Shea Levy Date: Sat, 18 Jan 2014 11:17:49 -0500 Subject: [PATCH] kmscon: Don't re-run systemd-vconsole-setup after boot, and let tty1 wait for vconsole setup Signed-off-by: Shea Levy --- nixos/modules/services/ttys/kmscon.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nixos/modules/services/ttys/kmscon.nix b/nixos/modules/services/ttys/kmscon.nix index 6cb1ec648e55..302e660a7bff 100644 --- a/nixos/modules/services/ttys/kmscon.nix +++ b/nixos/modules/services/ttys/kmscon.nix @@ -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