From 4b6d3c4094f3132b6a7c46c31ed489eb7a76d3ac Mon Sep 17 00:00:00 2001 From: anonymix007 <48598263+anonymix007@users.noreply.github.com> Date: Sun, 25 Aug 2024 16:08:07 +0300 Subject: [PATCH] configs: locale: More locales --- configs/locale/en-US.yaml | 33 +++++++++++++++++++++++++++++++++ configs/locale/ru-RU.yaml | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) create mode 100644 configs/locale/en-US.yaml create mode 100644 configs/locale/ru-RU.yaml diff --git a/configs/locale/en-US.yaml b/configs/locale/en-US.yaml new file mode 100644 index 0000000..507947a --- /dev/null +++ b/configs/locale/en-US.yaml @@ -0,0 +1,33 @@ +# I18N for English (US) +locale: + enable: + - "en_US.UTF-8 UTF-8" + default: en_US.UTF-8 + +systemd: + enable: + - systemd-timesyncd + +filesystem: + files: + # Wireless regulatory + - path: /etc/conf.d/wireless-regdom + content: | + WIRELESS_REGDOM="US" + # Windows NTP Server + - path: /etc/systemd/timesyncd.conf.d/windows-ntp.conf + content: | + [Time] + NTP=time.windows.com + +sysconf: + environments: + GTK_IM_MODULE: ibus + QT_IM_MODULE: ibus + XMODIFIERS: '@im=ibus' + COUNTRY: US + LANG: en_US.UTF-8 + LANGUAGE: en_US.UTF-8 + LC_ALL: en_US.UTF-8 + TZ: US/Eastern +timezone: US/Eastern diff --git a/configs/locale/ru-RU.yaml b/configs/locale/ru-RU.yaml new file mode 100644 index 0000000..55148b7 --- /dev/null +++ b/configs/locale/ru-RU.yaml @@ -0,0 +1,33 @@ +# I18N for Russian +locale: + enable: + - "ru_RU.UTF-8 UTF-8" + - "en_US.UTF-8 UTF-8" + default: en_US.UTF-8 + +systemd: + enable: + - systemd-timesyncd + +filesystem: + files: + # Wireless regulatory + - path: /etc/conf.d/wireless-regdom + content: | + WIRELESS_REGDOM="RU" + - path: /etc/systemd/timesyncd.conf.d/ntp-pool-ntp.conf + content: | + [Time] + NTP=0.ru.pool.ntp.org + +sysconf: + environments: + GTK_IM_MODULE: ibus + QT_IM_MODULE: ibus + XMODIFIERS: '@im=ibus' + COUNTRY: RU + LANG: ru_RU.UTF-8 + LANGUAGE: ru_RU.UTF-8 + LC_ALL: ru_RU.UTF-8 + TZ: Europe/Moscow +timezone: Europe/Moscow