Files
archlinux-config/README.md
T
imbytecat b899e4cb9f 添加 root-setup.sh 脚本用于 WSL 首次初始化
- 自动安装 sudo、创建用户、配置免密 sudo
- 写入 /etc/wsl.conf 设置默认用户
- 整合 WSL.md 内容到脚本中,删除原文档
- 更新 README 为两阶段安装流程
2026-03-25 14:26:57 +08:00

843 B
Raw Blame History

Arch Linux 配置仓库

使用 dcli 声明式管理 Arch Linux 配置(当前默认主机为 wsl,可扩展到其他主机)。

快速开始

1. 初始化用户(以 root 身份,仅 WSL 首次)

curl -fsSL https://git.furtherverse.com/imbytecat/archlinux-config/raw/branch/main/root-setup.sh | bash -s -- <用户名>

然后在 PowerShell 中重启 WSL

wsl --terminate archlinux

2. 安装配置(以普通用户身份)

curl -fsSL https://git.furtherverse.com/imbytecat/archlinux-config/raw/branch/main/install.sh | bash

3. 应用配置

dcli sync

配置说明

  • hosts/wsl.yaml - WSL 配置
  • modules/ - 模块化包管理
  • files/ - 配置文件(自动同步)

更新配置

cd ~/.config/arch-config && git pull
dcli sync