diff --git a/configs/common/alarm-user.yaml b/configs/common/alarm-user.yaml
index 114982a..135bc02 100644
--- a/configs/common/alarm-user.yaml
+++ b/configs/common/alarm-user.yaml
@@ -1,9 +1,11 @@
# Default user for ArchLinux ARM
+
sysconf:
user:
- name: alarm
password: alarm
groups: wheel
+ shell: /bin/zsh
- name: root
uid: 0
password: root
diff --git a/configs/device/ayn-odin2.yaml b/configs/device/ayn-odin2.yaml
index 07fa53c..c251723 100644
--- a/configs/device/ayn-odin2.yaml
+++ b/configs/device/ayn-odin2.yaml
@@ -15,7 +15,7 @@ pacman:
- linux-firmware-ayn-odin2
# Mainline kernel for AYN Odin2
- - linux-ayn-odin2-edge
+ - linux-ayn-odin2-stable
# Adreno 740 GPU
- mesa-qcom-git
@@ -28,6 +28,16 @@ pacman:
# AYN Odin2 RGB LED Tuner
- rgb-led
+
+ # picked by sakuramist
+ - yay
+ - btop
+ - chromium
+ - oh-my-zsh-git
+ - box64-sd8g2-git
+ - ayn-odin2-meta
+ - base-devel
+
systemd:
disable:
# No modem in this device
@@ -35,35 +45,100 @@ systemd:
enable:
- bt-update-mac.service
- net-update-mac@wlp1s0.service
+ - systemd-timesyncd.service
filesystem:
files:
- # GamePAD workaround
- - path: /etc/udev/rules.d/99-${device}.rules
- content: |
- SUBSYSTEM=="input", ATTRS{name}=="Ayn Odin2 Gamepad", MODE="0666", ENV{ID_INPUT_MOUSE}="0", ENV{ID_INPUT_JOYSTICK}="1"
- - path: /etc/systemd/logind.conf.d/power-key-lock.conf
- content: |
- [Login]
- HandlePowerKey=lock
- path: /etc/systemd/system.conf.d/show-status.conf
content: |
[Manager]
ShowStatus=yes
- - path: /etc/systemd/sleep.conf.d/no-suspend.conf
- content: |
- [Sleep]
- AllowSuspend=no
- AllowHibernation=no
- AllowSuspendThenHibernate=no
- path: /etc/systemd/resolved.conf.d/no-mdns.conf
content: |
[Resolve]
MulticastDNS=no
LLMNR=no
- - path: /etc/NetworkManager/conf.d/80-no-wifi-powersave.conf
+ - path: /etc/dconf/profile/user
content: |
- [connection]
- wifi.powersave = 2
+ user-db:user
+ system-db:local
+ - path: /etc/dconf/profile/gdm
+ content: |
+ user-db:user
+ system-db:local
+ - path: /etc/dconf/db/local.d/00-hidpi
+ content: |
+ [org/gnome/mutter]
+ experimental-features=['scale-monitor-framebuffer']
+ - path: /etc/dconf/db/locks/hidpi
+ content: |
+ /org/gnome/mutter/experimental-features
+ - path: /etc/chromium-flags.conf
+ content: |
+ --ozone-platform-hint=auto
+ - path: /var/lib/gdm/.config/monitors.xml
+ content: |
+
+
+
+ 0
+ 0
+ 1.5
+ yes
+
+
+ DSI-1
+ unknown
+ unknown
+ unknown
+
+
+ 1920
+ 1080
+ 60.000
+
+
+
+
+
+ - path: /etc/skel/.config/monitors.xml
+ stage: pre-user
+ content: |
+
+
+
+ 0
+ 0
+ 1.5
+ yes
+
+
+ DSI-1
+ unknown
+ unknown
+ unknown
+
+
+ 1920
+ 1080
+ 60.000
+
+
+
+
+
+ - path: /etc/skel/.zshrc
+ stage: pre-user
+ content: |
+ ZSH=/usr/share/oh-my-zsh/
+ ZSH_THEME="ys"
+ plugins=(git)
+ ZSH_CACHE_DIR=$$HOME/.cache/oh-my-zsh
+ if [[ ! -d $$ZSH_CACHE_DIR ]]; then
+ mkdir $$ZSH_CACHE_DIR
+ fi
+ source $$ZSH/oh-my-zsh.sh
+ setopt nonomatch
+
sysconf:
chassis: handset
environments:
@@ -71,6 +146,7 @@ sysconf:
__GLX_VENDOR_LIBRARY_NAME: mesa
MESA_LOADER_DRIVER_OVERRIDE: zink
GALLIUM_DRIVER: zink
+ ELECTRON_OZONE_PLATFORM_HINT: auto
kernel:
cmdline:
- clk_ignore_unused
@@ -129,3 +205,5 @@ mkinitcpio:
# Root without password
- common/wheel-nopasswd
+
+- common/dconf-update
diff --git a/configs/locale/multi.yaml b/configs/locale/multi.yaml
new file mode 100644
index 0000000..7824796
--- /dev/null
+++ b/configs/locale/multi.yaml
@@ -0,0 +1,67 @@
+# I18N for multiple languages
+locale:
+ enable:
+ - "zh_CN.UTF-8 UTF-8"
+ - "en_US.UTF-8 UTF-8"
+ - "en_GB.UTF-8 UTF-8"
+ - "zh_TW.UTF-8 UTF-8"
+ - "es_ES.UTF-8 UTF-8"
+ - "es_MX.UTF-8 UTF-8"
+ - "hi_IN.UTF-8 UTF-8"
+ - "ar_SA.UTF-8 UTF-8"
+ - "ar_EG.UTF-8 UTF-8"
+ - "fr_FR.UTF-8 UTF-8"
+ - "fr_CA.UTF-8 UTF-8"
+ - "ru_RU.UTF-8 UTF-8"
+ - "pt_PT.UTF-8 UTF-8"
+ - "pt_BR.UTF-8 UTF-8"
+ - "de_DE.UTF-8 UTF-8"
+ - "ja_JP.UTF-8 UTF-8"
+ default: en_US.UTF-8
+
+filesystem:
+ files:
+
+ # Wireless regulatory
+ # - path: /etc/conf.d/wireless-regdom
+ # content: |
+ # WIRELESS_REGDOM="CN"
+
+ # China accelerated DNS
+ # - 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
+
+ # China accelerated NTP Server
+ - path: /etc/systemd/timesyncd.conf.d/windows-ntp.conf
+ content: |
+ [Time]
+ NTP=time.windows.com
+
+pacman:
+ install:
+ - noto-fonts
+ # Fonts for CJK language
+ - noto-fonts-cjk
+ - wqy-bitmapfont
+ - wqy-microhei
+ - wqy-microhei-lite
+ - wqy-zenhei
+
+ # Input method for Chinese
+ - ibus
+ - ibus-libpinyin
+
+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
diff --git a/configs/repo/archlinuxcn.yaml b/configs/repo/archlinuxcn.yaml
index 10c5fb3..a17841e 100644
--- a/configs/repo/archlinuxcn.yaml
+++ b/configs/repo/archlinuxcn.yaml
@@ -5,5 +5,6 @@ pacman:
server: https://repo.archlinuxcn.org/$$arch
trust:
- farseerfc@archlinux.org
+ - lilac@build.archlinuxcn.org
install:
- archlinuxcn/archlinuxcn-keyring
diff --git a/configs/repo/renegade-project-azure.yaml b/configs/repo/renegade-project-azure.yaml
new file mode 100644
index 0000000..b182f3f
--- /dev/null
+++ b/configs/repo/renegade-project-azure.yaml
@@ -0,0 +1,9 @@
+pacman:
+ repo:
+ - name: renegade-project
+ priority: 200
+ server: https://mollytek.blob.core.windows.net/maoli/mirror/arch/$$arch
+ trust:
+ - renegade-project@classfun.cn
+ install:
+ - renegade-project/renegade-project-keyring
diff --git a/configs/target/ayn-odin2-sdcard.yaml b/configs/target/ayn-odin2-sdcard.yaml
index 4f90a93..b3a23da 100644
--- a/configs/target/ayn-odin2-sdcard.yaml
+++ b/configs/target/ayn-odin2-sdcard.yaml
@@ -13,7 +13,7 @@ image:
sector: 512
partitions:
- type: filesystem
- ptype: efi
+ ptype: microsoft-basic-data
pname: esp
size: 512MiB
fsname: ESP