08c3452c1a
- 将 bootstrap.sh 重命名为 setup.sh,避免与 dcli init 语义混淆 - README 标题改为通用配置仓库定位 - 更新快速开始命令为 setup.sh
42 lines
775 B
Markdown
42 lines
775 B
Markdown
# Arch Linux 配置仓库
|
||
|
||
使用 dcli 声明式管理 Arch Linux 配置(当前默认主机为 wsl,可扩展到其他主机)。
|
||
|
||
## 快速开始
|
||
|
||
```bash
|
||
# 1. 克隆仓库
|
||
git clone https://git.furtherverse.com/imbytecat/archlinux-config.git
|
||
cd archlinux-config
|
||
|
||
# 2. 运行 setup(安装 yay 和 dcli)
|
||
chmod +x setup.sh
|
||
./setup.sh
|
||
|
||
# 3. 检查配置(可选)
|
||
cat ~/.config/arch-config/hosts/wsl.yaml
|
||
|
||
# 4. 应用配置
|
||
dcli sync
|
||
```
|
||
|
||
## 配置说明
|
||
|
||
- `arch-config/hosts/wsl.yaml` - WSL 配置
|
||
- `arch-config/modules/` - 模块化包管理
|
||
- `arch-config/files/` - 配置文件(自动同步)
|
||
|
||
## 更新配置
|
||
|
||
```bash
|
||
# 拉取最新配置
|
||
cd ~/archlinux-config # 或你的 clone 目录
|
||
git pull
|
||
|
||
# 应用更新
|
||
dcli sync
|
||
|
||
# 更新系统包
|
||
dcli update
|
||
```
|