2024-05-20 09:56:42 +08:00
|
|
|
# I18N for Chinese (Simplified)
|
2024-05-17 23:04:34 +08:00
|
|
|
locale:
|
|
|
|
enable:
|
|
|
|
- "zh_CN.UTF-8 UTF-8"
|
|
|
|
- "en_US.UTF-8 UTF-8"
|
|
|
|
default: zh_CN.UTF-8
|
2024-05-20 09:56:42 +08:00
|
|
|
|
2024-05-17 23:04:34 +08:00
|
|
|
filesystem:
|
|
|
|
files:
|
2024-05-20 09:56:42 +08:00
|
|
|
|
|
|
|
# Wireless regulatory
|
2024-05-17 23:04:34 +08:00
|
|
|
- path: /etc/conf.d/wireless-regdom
|
|
|
|
content: |
|
|
|
|
WIRELESS_REGDOM="CN"
|
2024-05-20 09:56:42 +08:00
|
|
|
|
|
|
|
# China accelerated DNS
|
2024-05-17 23:04:34 +08:00
|
|
|
- path: /etc/systemd/resolved.conf.d/cn-dns.conf
|
|
|
|
content: |
|
|
|
|
[Resolve]
|
|
|
|
DNS=114.114.114.114 119.29.29.29
|
|
|
|
FallbackDNS=114.114.114.114 119.29.29.29
|
2024-05-20 09:56:42 +08:00
|
|
|
|
|
|
|
# China accelerated NTP Server
|
2024-05-17 23:04:34 +08:00
|
|
|
- path: /etc/systemd/timesyncd.conf.d/cn-ntp.conf
|
|
|
|
content: |
|
|
|
|
[Time]
|
|
|
|
NTP=cn.ntp.org.cn
|
2024-05-20 09:56:42 +08:00
|
|
|
|
2024-05-17 23:04:34 +08:00
|
|
|
pacman:
|
|
|
|
install:
|
2024-05-20 09:56:42 +08:00
|
|
|
# Fonts for CJK language
|
2024-05-17 23:04:34 +08:00
|
|
|
- noto-fonts-cjk
|
|
|
|
- wqy-bitmapfont
|
|
|
|
- wqy-microhei
|
|
|
|
- wqy-microhei-lite
|
|
|
|
- wqy-zenhei
|
2024-05-20 09:56:42 +08:00
|
|
|
|
|
|
|
# Input method for Chinese
|
2024-05-17 23:04:34 +08:00
|
|
|
- ibus
|
|
|
|
- ibus-libpinyin
|
2024-05-20 09:56:42 +08:00
|
|
|
|
2024-05-17 23:04:34 +08:00
|
|
|
sysconf:
|
|
|
|
environments:
|
|
|
|
GTK_IM_MODULE: ibus
|
|
|
|
QT_IM_MODULE: ibus
|
|
|
|
XMODIFIERS: '@im=ibus'
|
|
|
|
COUNTRY: CN
|
|
|
|
LANG: zh_CN.UTF-8
|
|
|
|
LANGUAGE: zh_CN.UTF-8
|
|
|
|
LC_ALL: zh_CN.UTF-8
|
|
|
|
TZ: Asia/Shanghai
|
|
|
|
timezone: Asia/Shanghai
|