imbytecat
d58c650d59
feat: NixOS 声明式配置(从 Arch + decman 迁移)
...
- flake.nix: NixOS + home-manager + nixos-wsl 三输入
- hosts/wsl + hosts/bare: WSL 与裸机共享模块,分主机配置
- modules/: base(CLI 工具) + dev(工具链+LSP) + docker + locale + shell
- home/: zsh(oh-my-zsh+插件+别名) + git(delta) + starship + 工具集成
- scripts/install.sh: 一键安装脚本(WSL/裸机通用)
- 原 bun/go 全局包 hack 改为 nixpkgs 声明式管理
2026-04-03 19:05:06 +08:00
imbytecat
0ee258f666
docs: 精简 README、更新 AGENTS.md、统一目录名为 archlinux-config
2026-03-26 13:54:23 +08:00
imbytecat
759c7b7384
refactor: 重命名 files/ 为 system/、dotfiles/ 为 home/
2026-03-26 10:47:29 +08:00
imbytecat
56a2cc483f
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 工作流
2026-03-26 10:31:07 +08:00
imbytecat
6641a75fc9
重构脚本:重命名 root-setup 为 wsl-init 并修复关键问题
...
- 重命名 root-setup.sh 为 wsl-init.sh,明确 WSL 专属
- 添加 WSL 环境检查,防止在非 WSL 环境误执行
- 添加 sudoers 配置,修复 install.sh 无法使用 sudo 的问题
- 去掉 wsl-init 中的 -Syu,避免重复升级
- 备份已有 /etc/wsl.conf 再覆盖
- install.sh 克隆逻辑改为安全检测,避免误删已有仓库
- README 区分 WSL 首次启动和普通 Arch 两条路径
2026-03-25 14:42:59 +08:00
imbytecat
bfb4d5b3d0
将脚本移至 scripts/ 目录,保持仓库根目录整洁
2026-03-25 14:37:00 +08:00
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
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
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
3d1ec60d6f
Add dcli to base module and make sync manual
2026-03-25 13:27:26 +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