27 lines
625 B
Nix
Raw Normal View History

2020-02-17 16:00:59 +03:00
{ pkgs, config, lib, ... }: {
2020-05-08 08:20:58 +03:00
console.font = "cyr-sun16";
console.keyMap = "ruwin_cplk-UTF-8";
2020-02-17 16:00:59 +03:00
2020-05-12 23:35:29 +03:00
environment.sessionVariables = {
XKB_DEFAULT_LAYOUT = "us,ru";
2021-01-21 21:13:53 +03:00
XKB_DEFAULT_OPTIONS =
2021-11-22 19:13:53 +03:00
"grp:lctrl_toggle,grp_led:caps,ctrl:nocaps,compose:ralt";
2020-05-25 15:30:06 +03:00
LANG = lib.mkForce "en_GB.UTF-8";
2020-05-12 23:35:29 +03:00
};
2020-02-17 16:00:59 +03:00
time.timeZone = "Europe/Moscow"; # Mother Russia
2021-01-21 21:13:53 +03:00
home-manager.users.balsoft = {
2021-11-25 00:08:54 +03:00
home.file.".XCompose".source = ./compose;
2021-01-21 21:13:53 +03:00
home.language = let
en = "en_GB.UTF-8";
ru = "ru_RU.UTF-8";
in {
address = ru;
monetary = ru;
paper = ru;
time = en;
base = en;
};
2020-02-17 16:00:59 +03:00
};
}