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
password: alarm
groups: wheel
shell: /bin/zsh
- name: root
uid: 0
password: root

View File

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

View File

@ -21,7 +21,20 @@ locale:
filesystem:
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
content: |
[Time]
@ -46,5 +59,9 @@ sysconf:
GTK_IM_MODULE: ibus
QT_IM_MODULE: 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

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
partitions:
- type: filesystem
ptype: efi
ptype: microsoft-basic-data
pname: esp
size: 512MiB
fsname: ESP