Pronounced /ɒmˈnɪks/
[!NOTE] 🚧 omnix is in active development. It aims to supplement the Nix CLI to improve developer experience.
direnv
cd
to it, and run direnv allow
.This will automatically activate the nix develop shell. Open VSCode and install recommended extensions, ensuring that direnv activates in VSCode as well.
To run omnix-cli
,
just watch # Or `just w`; you can also pass args, e.g.: `just w show`
Inside the nix develop shell (activated by direnv) you can use any of the cargo
or rustc
commands, as well as just
workflows. Nix specific commands can also be used to work with the project:
# Full nix build of CLI
nix build .#default
# Build and run the CLI
nix run
[!TIP] Run
just fmt
to autoformat the source tree.
just ci
to run CI locally.just doc run
to preview website docs; edit, and run just doc check
just doc cargo
.CHANGELOG.md
entry.[^cc][^cc]: We don't use any automatic changelog generator for this repo.
Crate | Description |
---|---|
./crates/nix_rs |
Rust interface to the Nix command line |
./crates/nix_health |
Nix health check library and executable |
./crates/nixci |
Define and build CI for Nix projects anywhere |
./crates/omnix-init |
Rich flake templates |
https://github.com/juspay/direnv-rs | Rust bindings for direnv |