Commit Graph

4 Commits

Author SHA1 Message Date
longjin 01893fde49 feat(nix): enhance development environment with mirror support and system QEMU
- Add Chinese mirror configuration for Nix to improve download speed
- Introduce system QEMU support via`start-system-*`commands
- Extend bootstrap script with mirror setup, trusted user, and auto GC
configuration
- Update Rust toolchain to use rsproxy.cn and wrap binaries with zlib
- Add .nix-gc-root to .gitignore and create it automatically in shell hook
- Update build container version to v1.20

Signed-off-by: longjin <longjin@DragonOS.org>
2026-02-09 18:42:22 +08:00
Vitus 4101daa317
fix(doc), chore(nix): 文档nix run package名字不对应 更新qemu-system-data包使用deb snapshot archieve (#1570)
* fix: 修复启动package名字不正确的问题

* chore(deps):更新qemu-system-data_10.1.3+ds-1_all.deb包链接
2025-12-29 14:51:04 +08:00
Samuel Dai 155138fef2
chore(docs): 更新 Intro 部分关于 nix 环境开发的内容 (#1558) 2025-12-26 18:50:56 +08:00
Samuel Dai f031e61716
feat(build): replace rootfs and user space app creation with nix base scripts (#1505)
Implement
- userland build in nix, with cross platform support and 
non-previleged disk gen
- qemu start command in nix
- nix develop envrionment for make kernel
- document build environment defined by nix

Next Steps
- 减小rootfs占用nix store的体积
- deb包的打包兼容用的函数
- 更加灵活的构建依赖注入
- 保留先前系统内修改的内容
- nix rootfs build与qemu启动适配 vnc模式
- 适配 riscv64 构建
- Arm MacOS上的开发兼容
2025-12-26 18:36:13 +08:00