A Nix companion to improve developer experience
See the codePronounced /ɒmˈnɪks/
Omnix aims to supplement the Nix CLI to improve developer experience.
direnvcd 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
# Build and run the CLI
nix run
[!TIP] Run
just pcato autoformat the source tree.
just ci to run CI locally.just doc run to preview website docs; edit, and run just doc checkjust doc cargo.history.md entry.1Begin with a release PR:
history.md to make sure new release header is presentcargo workspace publish --force omnix-cli in devShell, using the picked version.We don't use any automatic changelog generator for this repo. ↩
Rust
92.0%
Nix
7.3%
A Nix companion to improve developer experience
See the codePronounced /ɒmˈnɪks/
Omnix aims to supplement the Nix CLI to improve developer experience.
direnvcd 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
# Build and run the CLI
nix run
[!TIP] Run
just pcato autoformat the source tree.
just ci to run CI locally.just doc run to preview website docs; edit, and run just doc checkjust doc cargo.history.md entry.1Begin with a release PR:
history.md to make sure new release header is presentcargo workspace publish --force omnix-cli in devShell, using the picked version.We don't use any automatic changelog generator for this repo. ↩
Rust
92.0%
Nix
7.3%