From 5ff9a2a2cb7a5ba246d745974d8bd2e199c6138a Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Wed, 8 Feb 2017 21:50:31 +0300 Subject: kbd service: don't restart systemd-vconsole-setup Fixes #22470. Also remove non-relevant comment (we don't deviate from upstream systemd unit anymore). --- nixos/modules/tasks/kbd.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'nixos/modules/tasks') diff --git a/nixos/modules/tasks/kbd.nix b/nixos/modules/tasks/kbd.nix index e001832ec2eb..0af376a90bcf 100644 --- a/nixos/modules/tasks/kbd.nix +++ b/nixos/modules/tasks/kbd.nix @@ -100,15 +100,12 @@ in } (mkIf (!config.boot.earlyVconsoleSetup) { - # This is identical to the systemd-vconsole-setup.service unit - # shipped with systemd, except that it uses /dev/tty1 instead of - # /dev/tty0 to prevent putting the X server in non-raw mode, and - # it has a restart trigger. systemd.services."systemd-vconsole-setup" = { wantedBy = [ "sysinit.target" ]; before = [ "display-manager.service" ]; after = [ "systemd-udev-settle.service" ]; restartTriggers = [ vconsoleConf kbdEnv ]; + restartIfChanged = false; # fails when tty is inactive }; }) -- cgit 1.4.1