Daily Workflows
This page is the short operational guide for trying the repo locally. It is intentionally practical.
Explore Outputs
bash
nix flake showRebuild the Current Machine
If your local setup has hms available:
bash
hmsEquivalent behavior is defined in mods/hms.nix.
Here, "switch" means "build the configuration and activate it on the target machine".
Build or Switch a Specific Host
bash
# build explicit host switch helper
nix build --no-link --print-out-paths --extra-experimental-features nix-command --extra-experimental-features flakes .#hmx.<host>
# run switch binary
$(nix build --no-link --print-out-paths --extra-experimental-features nix-command --extra-experimental-features flakes .#hmx.<host>)/bin/switchBuild a Host Without Switching
bash
nix build .#nixosConfigurations.<host>.config.system.build.toplevel
nix build .#darwinConfigurations.<host>.systemBuild a Package
bash
nix build .#<package-name>Examples:
bash
nix build .#zaddy
nix build .#llama-cpp-latestRegenerate and Preview Docs
bash
cd docs
bun run docs:gen
bun run docs:devRun Repo Checks
bash
nix run .#jfmt -- --ci
nix run .#scripts.check_doc_links
nix run .#scripts.check_readme_index