imbytecat
5f7ef35a34
docs: improve WSL bootstrap guide and document justfile commands
...
- Fix WSL quickstart: use nix-shell -p git for initial clone since fresh NixOS-WSL lacks git
- Rewrite daily usage section to list all justfile commands
- Add rollback recipe to justfile (NixOS only)
- Note sudo requirement for NixOS system-level garbage collection
2026-04-13 21:31:40 +08:00
imbytecat
aa1b2ff23c
refactor: 简化仓库路径,移除硬编码的 rebuild/update 命令和安装脚本
2026-04-11 17:52:03 +08:00
imbytecat
37751c1586
feat: 用 zellij 替换 tmux 作为终端复用器
2026-04-11 16:33:23 +08:00
imbytecat
3bd914a002
feat: 迁移 macOS 到 Lix,统一全平台 nix 配置
...
替换 Determinate Nix 为 Lix (pkgs.lix),移除 nix.enable 条件判断,nix.settings 现在统一应用于所有设备。更新 AGENTS.md 和 README.md 文档。
2026-04-11 00:56:38 +08:00
imbytecat
7c52bdc3c4
docs: README 改用 Lix 安装器推荐,修正 bootstrap 命令和仓库路径
2026-04-10 23:51:37 +08:00
imbytecat
68184abd8f
refactor: 重构为三设备架构,zsh 迁移至 fish
...
- 新增 darwinConfigurations: mac-mini, macbook-air (aarch64-darwin)
- WSL 统一用户名为 imbytecat,主机名改为 awesome-* 系列
- zsh 全面迁移至 fish (abbrs, 内置补全/高亮, zoxide --cmd cd)
- 激活 nix-darwin 模块: Homebrew, 系统偏好, Touch ID sudo
- 移除 bare/standalone 配置及 catppuccin nixosModule from mkDarwin
2026-04-10 21:48:19 +08:00
imbytecat
c73e36a1be
feat: add opencode, comment-checker packages; update README and flake.lock
...
- Add opencode and comment-checker to home packages
- Package comment-checker via prebuilt GitHub Releases binaries
- Register comment-checker overlay and flake packages output
- Add flake.lock to pin dependency versions
- Update README to match actual repo structure
- Add Node.js version notes in languages.nix
2026-04-03 20:40:00 +08:00
imbytecat
92c6535945
fix: 更新仓库 URL 和路径为 nix-config
2026-04-03 19:06:44 +08:00
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