diff options
author | rnhmjoj <micheleguerinirocco@me.com> | 2016-01-17 17:54:33 +0100 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2016-01-17 20:24:45 +0300 |
commit | 641a951c614cf8ef91e0fb1c856896dace313a77 (patch) | |
tree | e76a6e054c2a22fe48daa746cd6dcafacd94614d /nixos/modules/tasks/kbd.nix | |
parent | 1dfdd01ec95beaa1ff1beadafb4ec6bce488a6b9 (diff) |
i18n: Fix vconsole colorscheme generation
Close #12442.
abbradar: remove trailing spaces.
Diffstat (limited to 'nixos/modules/tasks/kbd.nix')
-rw-r--r-- | nixos/modules/tasks/kbd.nix | 12 |
1 files 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 { |