refactor: 从 dcli 迁移到 decman 声明式配置管理

- 新增 source.py 统一声明包、系统文件和 dotfiles
- 简化 install.sh,由 decman 接管系统文件和 locale 配置
- 移除 dcli 配置(config.yaml、hosts/、modules/、state/)
- 添加 pyproject.toml 和 uv.lock 用于开发环境类型提示
- 更新 README.md 和 AGENTS.md 适配 decman 工作流
This commit is contained in:
2026-03-26 10:31:07 +08:00
parent 34d4325f09
commit 56a2cc483f
16 changed files with 360 additions and 227 deletions
+14
View File
@@ -0,0 +1,14 @@
[project]
name = "archlinux-config"
version = "0.0.0"
requires-python = ">=3.13"
[dependency-groups]
dev = ["decman", "decman-pacman"]
[tool.uv.sources]
decman = { git = "https://github.com/kiviktnm/decman.git" }
decman-pacman = { git = "https://github.com/kiviktnm/decman.git", subdirectory = "plugins/decman-pacman" }
[tool.ty.environment]
python = ".venv"