From f76d2aa6e3b4ed6ca9da1e761b1ef2ec36b227c8 Mon Sep 17 00:00:00 2001 From: Franz Pletz Date: Wed, 27 Sep 2017 23:34:42 +0200 Subject: [PATCH] kbd service: systemd-vconsole-setup is triggered by udev cc #22470 (cherry picked from commit 0ee866ed728ee62e6c598911ff0dcfaa74ea7c55) --- nixos/modules/tasks/kbd.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nixos/modules/tasks/kbd.nix b/nixos/modules/tasks/kbd.nix index a01f35fea0375..7fb3cbc5c1bc1 100644 --- a/nixos/modules/tasks/kbd.nix +++ b/nixos/modules/tasks/kbd.nix @@ -99,8 +99,7 @@ in ''; systemd.services."systemd-vconsole-setup" = - { wantedBy = [ "sysinit.target" ]; - before = [ "display-manager.service" ]; + { before = [ "display-manager.service" ]; after = [ "systemd-udev-settle.service" ]; restartTriggers = [ vconsoleConf kbdEnv ]; };