diff options
author | rnhmjoj <micheleguerinirocco@me.com> | 2015-09-03 05:27:56 +0200 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2015-11-09 14:53:59 +0100 |
commit | 2a0f9d40ff1aecd1713871349d5723547aeab1e4 (patch) | |
tree | 3f272cdc2c8675513a207c3c38924cbc52367281 /nixos/modules/tasks/kbd.nix | |
parent | 779d3a2ec702995d1445059b0d46a5f15a39d9a8 (diff) |
i18n: add color scheme option (close #9626)
Diffstat (limited to 'nixos/modules/tasks/kbd.nix')
-rw-r--r-- | nixos/modules/tasks/kbd.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/nixos/modules/tasks/kbd.nix b/nixos/modules/tasks/kbd.nix index 69f004888f55..5969da7062b6 100644 --- a/nixos/modules/tasks/kbd.nix +++ b/nixos/modules/tasks/kbd.nix @@ -4,11 +4,13 @@ with lib; let + makeColor = n: value: "COLOR_${toString n}=${value}"; + vconsoleConf = pkgs.writeText "vconsole.conf" '' KEYMAP=${config.i18n.consoleKeyMap} FONT=${config.i18n.consoleFont} - ''; + '' + concatImapStringsSep "\n" makeColor config.i18n.consoleColors; in |