i18n: Fix vconsole colorscheme generation
Close #12442. abbradar: remove trailing spaces.
This commit is contained in:
parent
1dfdd01ec9
commit
641a951c61
@ -5,13 +5,13 @@ with lib;
|
|||||||
let
|
let
|
||||||
|
|
||||||
makeColor = n: value: "COLOR_${toString n}=${value}";
|
makeColor = n: value: "COLOR_${toString n}=${value}";
|
||||||
|
colors = concatImapStringsSep "\n" makeColor config.i18n.consoleColors;
|
||||||
|
|
||||||
vconsoleConf = pkgs.writeText "vconsole.conf"
|
vconsoleConf = pkgs.writeText "vconsole.conf" ''
|
||||||
''
|
KEYMAP=${config.i18n.consoleKeyMap}
|
||||||
KEYMAP=${config.i18n.consoleKeyMap}
|
FONT=${config.i18n.consoleFont}
|
||||||
FONT=${config.i18n.consoleFont}
|
${colors}
|
||||||
'' + concatImapStringsSep "\n" makeColor config.i18n.consoleColors;
|
'';
|
||||||
|
|
||||||
in
|
in
|
||||||
|
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user