Files
nix-config/README.md
T
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

31 lines
535 B
Markdown

# Arch Linux 配置仓库
使用 dcli 声明式管理 Arch Linux 配置(当前默认主机为 wsl,可扩展到其他主机)。
## 快速开始
```bash
curl -fsSL https://git.furtherverse.com/imbytecat/archlinux-config/raw/branch/main/install.sh | bash
```
安装完成后:
```bash
cd ~/.config/arch-config
dcli sync
```
## 配置说明
- `hosts/wsl.yaml` - WSL 配置
- `modules/` - 模块化包管理
- `files/` - 配置文件(自动同步)
## 更新配置
```bash
cd ~/.config/arch-config
git pull
dcli sync
```