2020-02-17 17:00:59 +04:00
|
|
|
{ pkgs, config, lib, ... }: {
|
2020-05-13 00:35:29 +04:00
|
|
|
environment.sessionVariables = {
|
|
|
|
XKB_DEFAULT_LAYOUT = "us,ru";
|
2021-01-21 22:13:53 +04:00
|
|
|
XKB_DEFAULT_OPTIONS =
|
2021-11-22 20:13:53 +04:00
|
|
|
"grp:lctrl_toggle,grp_led:caps,ctrl:nocaps,compose:ralt";
|
2020-05-25 16:30:06 +04:00
|
|
|
LANG = lib.mkForce "en_GB.UTF-8";
|
2022-06-28 00:22:21 +04:00
|
|
|
XCOMPOSEFILE = "${config.home-manager.users.balsoft.xdg.configHome}/XCompose";
|
2020-05-13 00:35:29 +04:00
|
|
|
};
|
|
|
|
|
2022-10-04 13:21:57 +04:00
|
|
|
i18n.defaultLocale = "en_GB.UTF-8";
|
|
|
|
|
2022-05-18 22:57:41 +04:00
|
|
|
time.timeZone = "Asia/Tbilisi";
|
2021-01-21 22:13:53 +04:00
|
|
|
home-manager.users.balsoft = {
|
2021-11-25 01:08:54 +04:00
|
|
|
home.file.".XCompose".source = ./compose;
|
2022-06-28 00:22:21 +04:00
|
|
|
xdg.configFile."gtk-3.0/Compose".source = ./compose;
|
|
|
|
xdg.configFile."XCompose".source = ./compose;
|
2021-01-21 22:13:53 +04: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 17:00:59 +04:00
|
|
|
};
|
|
|
|
}
|