imbytecat
b899e4cb9f
添加 root-setup.sh 脚本用于 WSL 首次初始化
...
- 自动安装 sudo、创建用户、配置免密 sudo
- 写入 /etc/wsl.conf 设置默认用户
- 整合 WSL.md 内容到脚本中,删除原文档
- 更新 README 为两阶段安装流程
2026-03-25 14:26:57 +08:00
imbytecat
580b57eee4
简化提示:dcli sync 无需 cd 到配置目录
2026-03-25 14:11:35 +08:00
imbytecat
2484a67096
克隆配置前先清除旧目录,确保状态干净
2026-03-25 14:10:57 +08:00
imbytecat
8d1f6254cc
重构项目结构:扁平化配置并支持 curl 一键安装
...
- 将 arch-config/ 内容移至仓库根目录
- setup.sh 重命名为 install.sh
- 脚本改为自动 clone 仓库到 ~/.config/arch-config
- 新增 pacman -Syu 系统更新步骤
- README 简化为 curl 一行安装
2026-03-25 14:08:41 +08:00
imbytecat
08c3452c1a
调整脚本命名并更新文档说明
...
- 将 bootstrap.sh 重命名为 setup.sh,避免与 dcli init 语义混淆
- README 标题改为通用配置仓库定位
- 更新快速开始命令为 setup.sh
2026-03-25 13:57:14 +08:00
imbytecat
791e2f515f
Update repository name and URLs to archlinux-config
2026-03-25 13:51:31 +08:00
imbytecat
0f02a2590b
Rename SCRIPT_DIR to REPO_DIR for clarity
2026-03-25 13:46:31 +08:00
imbytecat
264526320e
Use symlink instead of copy for config sync
...
- Change to HTTPS clone (public access)
- Symlink arch-config to ~/.config/arch-config
- Config updates via git pull + dcli sync
2026-03-25 13:39:59 +08:00
imbytecat
bbfa5bff1c
Improve bootstrap robustness and add safety checks
...
- Fix /tmp/yay conflict with rm -rf before clone
- Use script directory instead of current directory
- Add pipefail to error handling
- Add command existence checks for mise/zoxide in .zshrc
- Add HTTPS clone option in README
2026-03-25 13:33:32 +08:00
imbytecat
7d29bd6562
Fix duplicate aur_packages key in base.yaml
2026-03-25 13:27:51 +08:00
imbytecat
3d1ec60d6f
Add dcli to base module and make sync manual
2026-03-25 13:27:26 +08:00
imbytecat
4da90cca47
Remove redundant pacman.conf, only keep mirrorlist
2026-03-25 13:03:20 +08:00
imbytecat
13b09ad558
Fix mirror configuration: use mirrorlist instead of inline servers
2026-03-25 13:02:58 +08:00
imbytecat
6863ca7d7d
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
2026-03-25 13:01:51 +08:00