blob: 870ce1bc522a3e78733a54bfdffcbc347f307565 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
{
config,
lib,
pkgs,
...
}:
with lib;
{
hm.home.language = {
collate = "C";
messages = "C";
monetary = "ru_RU.UTF-8";
numeric = "ru_RU.UTF-8";
paper = "ru_RU.UTF-8";
telephone = "ru_RU.UTF-8";
};
i18n = {
defaultLocale = mkDefault "en_GB.UTF-8";
supportedLocales = [
"C.UTF-8/UTF-8"
"en_GB.UTF-8/UTF-8"
"en_US.UTF-8/UTF-8"
"ja_JP.UTF-8/UTF-8"
"ru_RU.UTF-8/UTF-8"
];
inputMethod = {
enabled = null; # FIXME Breaks on Wayland.
fcitx5 = {
addons = with pkgs; [
fcitx5-configtool
fcitx5-mozc
];
waylandFrontend = config.nixfiles.modules.wayland.enable;
};
};
};
services.xserver.xkb = {
layout = "us,ru";
variant = ",phonetic";
options = concatStringsSep "," [
"caps:escape"
"compose:menu"
"grp:win_space_toggle"
"terminate:ctrl_alt_bksp"
];
};
}
|