Initial commit: dcli-based Arch Linux WSL configuration

- Bootstrap script for yay and dcli installation
- Declarative package management with modules (base, zsh, dev-tools)
- China mirror configuration (Tsinghua)
- Zsh with oh-my-zsh, autosuggestions, syntax-highlighting
- Dev tools: mise, zoxide, fzf, ripgrep, fd, bat
This commit is contained in:
2026-03-25 13:01:51 +08:00
commit 6863ca7d7d
9 changed files with 123 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
active_host: wsl
+18
View File
@@ -0,0 +1,18 @@
[options]
HoldPkg = pacman glibc
Architecture = auto
Color
CheckSpace
ParallelDownloads = 5
SigLevel = Required DatabaseOptional
LocalFileSigLevel = Optional
[core]
Server = https://mirrors.tuna.tsinghua.edu.cn/archlinux/$repo/os/$arch
[extra]
Server = https://mirrors.tuna.tsinghua.edu.cn/archlinux/$repo/os/$arch
[multilib]
Server = https://mirrors.tuna.tsinghua.edu.cn/archlinux/$repo/os/$arch
+16
View File
@@ -0,0 +1,16 @@
# Oh My Zsh
export ZSH="$HOME/.oh-my-zsh"
ZSH_THEME="robbyrussell"
plugins=(git zsh-autosuggestions zsh-syntax-highlighting)
source $ZSH/oh-my-zsh.sh
# mise
eval "$(mise activate zsh)"
# zoxide
eval "$(zoxide init zsh)"
# Aliases
alias ls='ls --color=auto'
alias ll='ls -lah'
alias cd='z'
+9
View File
@@ -0,0 +1,9 @@
host: wsl
aur_helper: yay
modules:
- base
- zsh
- dev-tools
settings:
files_sync: true
auto_prune: true
+7
View File
@@ -0,0 +1,7 @@
packages:
- base-devel
- git
- curl
- wget
- vim
- neovim
+9
View File
@@ -0,0 +1,9 @@
packages:
- fzf
- ripgrep
- fd
- bat
aur_packages:
- mise
- zoxide
+8
View File
@@ -0,0 +1,8 @@
packages:
- zsh
- zsh-completions
aur_packages:
- oh-my-zsh-git
- zsh-autosuggestions
- zsh-syntax-highlighting