23 lines
555 B
Nix
23 lines
555 B
Nix
{ pkgs, config, lib, ... }: {
|
|
console.font = "cyr-sun16";
|
|
console.keyMap = "ruwin_cplk-UTF-8";
|
|
|
|
environment.sessionVariables = {
|
|
XKB_DEFAULT_LAYOUT = "us,ru";
|
|
XKB_DEFAULT_OPTIONS = "grp:lctrl_toggle,grp_led:caps,ctrl:nocaps,misc:typo,lv3:ralt_switch";
|
|
LANG = lib.mkForce "en_GB.UTF-8";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|