summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorNikolay Amiantov <ab@fmap.me>2015-12-03 22:53:30 +0300
committerNikolay Amiantov <ab@fmap.me>2015-12-03 22:54:24 +0300
commitf3e8bb780c4a2223a929438fbd65c9eb78a4b3ef (patch)
treefb269662310e8cdee19d63caa27dec36ad908b38 /nixos
parent211c9ab28b72b56b6e6ec06236bb31f6b4c45273 (diff)
downloadnixlib-f3e8bb780c4a2223a929438fbd65c9eb78a4b3ef.tar
nixlib-f3e8bb780c4a2223a929438fbd65c9eb78a4b3ef.tar.gz
nixlib-f3e8bb780c4a2223a929438fbd65c9eb78a4b3ef.tar.bz2
nixlib-f3e8bb780c4a2223a929438fbd65c9eb78a4b3ef.tar.lz
nixlib-f3e8bb780c4a2223a929438fbd65c9eb78a4b3ef.tar.xz
nixlib-f3e8bb780c4a2223a929438fbd65c9eb78a4b3ef.tar.zst
nixlib-f3e8bb780c4a2223a929438fbd65c9eb78a4b3ef.zip
nixos/kbd: make systemd-vconsole-setup work with KMS
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/tasks/kbd.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/tasks/kbd.nix b/nixos/modules/tasks/kbd.nix
index 5969da7062b6..e36e9f85f1e3 100644
--- a/nixos/modules/tasks/kbd.nix
+++ b/nixos/modules/tasks/kbd.nix
@@ -56,6 +56,8 @@ in
     # it has a restart trigger.
     systemd.services."systemd-vconsole-setup" =
       { wantedBy = [ "multi-user.target" ];
+        before = [ "display-manager.service" ];
+        after = [ "systemd-udev-settle.service" ];
         restartTriggers = [ vconsoleConf ];
       };