diff options
author | Shea Levy <shea@shealevy.com> | 2014-01-18 11:17:49 -0500 |
---|---|---|
committer | Shea Levy <shea@shealevy.com> | 2014-01-18 11:17:49 -0500 |
commit | d454e094ef23b9f36708adfeac4109fe148df98e (patch) | |
tree | ac7a0abee87cf233bf007da533442866cd3901f7 /nixos/modules/services/ttys | |
parent | ca7805be9470d70ef1a9b2193e5db0237893acf8 (diff) |
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>
Diffstat (limited to 'nixos/modules/services/ttys')
-rw-r--r-- | nixos/modules/services/ttys/kmscon.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nixos/modules/services/ttys/kmscon.nix b/nixos/modules/services/ttys/kmscon.nix index 6cb1ec648e552..302e660a7bffd 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 |