muxOS is a minimal 32-bit x86 hobby operating system. The Nix flake supports building and running it from both x86_64 Linux and Apple Silicon macOS hosts. On an M1 Mac the build is native, while the kernel and userspace are cross-compiled for i686 and run in QEMU.
中文开发文档见 docs/DEVELOPMENT.zh-CN.md。
Enable flakes for each command if they are not enabled globally:
nix --extra-experimental-features 'nix-command flakes' buildThe ISO is available at result/muxos.iso. Run it with:
nix --extra-experimental-features 'nix-command flakes' runAdditional QEMU arguments can be appended after --. To share a different
host directory as /root inside muxOS, set MUXOS_SHARE:
MUXOS_SHARE="$HOME" nix --extra-experimental-features 'nix-command flakes' runFor an interactive development environment:
nix --extra-experimental-features 'nix-command flakes' develop
make
make run