nixos-config/modules/workspace/locale.nix

22 lines
491 B
Nix
Raw Normal View History

2020-02-17 17:00:59 +04:00
{ pkgs, config, lib, ... }: {
2020-05-08 09:20:58 +04:00
console.font = "cyr-sun16";
console.keyMap = "ruwin_cplk-UTF-8";
2020-02-17 17:00:59 +04:00
2020-05-13 00:35:29 +04:00
environment.sessionVariables = {
XKB_DEFAULT_LAYOUT = "us,ru";
XKB_DEFAULT_OPTIONS = "grp:lctrl_toggle,grp_led:caps,ctrl:nocaps";
};
2020-02-17 17:00:59 +04:00
time.timeZone = "Europe/Moscow"; # Mother Russia
home-manager.users.balsoft.home.language = let
en = "en_GB.UTF-8";
ru = "ru_RU.UTF-8";
in {
address = ru;
monetary = ru;
paper = ru;
time = en;
base = en;
};
}