From 641a951c614cf8ef91e0fb1c856896dace313a77 Mon Sep 17 00:00:00 2001 From: rnhmjoj Date: Sun, 17 Jan 2016 17:54:33 +0100 Subject: [PATCH] i18n: Fix vconsole colorscheme generation Close #12442. abbradar: remove trailing spaces. --- nixos/modules/tasks/kbd.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/nixos/modules/tasks/kbd.nix b/nixos/modules/tasks/kbd.nix index e36e9f85f1e3..e1574fa68ad9 100644 --- a/nixos/modules/tasks/kbd.nix +++ b/nixos/modules/tasks/kbd.nix @@ -5,13 +5,13 @@ with lib; let makeColor = n: value: "COLOR_${toString n}=${value}"; + colors = concatImapStringsSep "\n" makeColor config.i18n.consoleColors; - vconsoleConf = pkgs.writeText "vconsole.conf" - '' - KEYMAP=${config.i18n.consoleKeyMap} - FONT=${config.i18n.consoleFont} - '' + concatImapStringsSep "\n" makeColor config.i18n.consoleColors; - + vconsoleConf = pkgs.writeText "vconsole.conf" '' + KEYMAP=${config.i18n.consoleKeyMap} + FONT=${config.i18n.consoleFont} + ${colors} + ''; in {