Compare commits

..

1 Commits

Author SHA1 Message Date
81fda024bd oh my odin2 2024-06-03 13:53:27 +08:00
6 changed files with 43 additions and 27 deletions

View File

@ -5,6 +5,7 @@ sysconf:
- name: alarm - name: alarm
password: alarm password: alarm
groups: wheel groups: wheel
shell: /bin/zsh
- name: root - name: root
uid: 0 uid: 0
password: root password: root

View File

@ -33,6 +33,7 @@ pacman:
- yay - yay
- btop - btop
- chromium - chromium
- oh-my-zsh-git
- box64-sd8g2-git - box64-sd8g2-git
- ayn-odin2-meta - ayn-odin2-meta
- base-devel - base-devel
@ -125,6 +126,18 @@ filesystem:
</logicalmonitor> </logicalmonitor>
</configuration> </configuration>
</monitors> </monitors>
- 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: sysconf:
chassis: handset chassis: handset

View File

@ -21,7 +21,20 @@ locale:
filesystem: filesystem:
files: files:
# Windows NTP Server
# 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 - path: /etc/systemd/timesyncd.conf.d/windows-ntp.conf
content: | content: |
[Time] [Time]
@ -46,5 +59,9 @@ sysconf:
GTK_IM_MODULE: ibus GTK_IM_MODULE: ibus
QT_IM_MODULE: ibus QT_IM_MODULE: ibus
XMODIFIERS: '@im=ibus' XMODIFIERS: '@im=ibus'
TZ: Asia/Shanghai # COUNTRY: CN
# LANG: zh_CN.UTF-8
# LANGUAGE: zh_CN.UTF-8
# LC_ALL: zh_CN.UTF-8
# TZ: Asia/Shanghai
timezone: Asia/Shanghai timezone: Asia/Shanghai

View File

@ -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

View File

@ -1,24 +0,0 @@
pacman:
install:
- zsh
- oh-my-zsh-git
filesystem:
files:
- path: /etc/skel/.bashrc
stage: pre-user
content: |
if [ -n "$$BASH" ] && [[ "$$-" = *i* ]]; then
exec zsh
fi
- 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

View File

@ -13,7 +13,7 @@ image:
sector: 512 sector: 512
partitions: partitions:
- type: filesystem - type: filesystem
ptype: efi ptype: microsoft-basic-data
pname: esp pname: esp
size: 512MiB size: 512MiB
fsname: ESP fsname: ESP