My universe is complicated, so I gave it a command-line interface
| src | ||
| .envrc | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| flake.lock | ||
| flake.nix | ||
| LICENSE.txt | ||
| pkgs.nix | ||
| readme.md | ||
universe-cli: An Opinionated Management CLI for Flake-Based NixOS Configurations
Originally based on my scripts for bud, universe-cli replaces all that I used bud for, and more.
This tool is specifically designed for my needs, and to complement my configuration, my universe.
If you find it useful too, great!
However please keep in mind that I make no guarantees on stability, and things can change with my whims.
It is designed to be aliased or put in a script so that the flake root is provided.
If one isn't provided, it will check for a flake.nix in /etc/nixos, and if present, it will assume it is the flake root.
(As a note, it will check for a flake.nix in a provided root, just for sanity checking.)
TODO
- Improve readme
- Add more metadata to Cargo.toml
- Add help text to subcommands
- Create something to make use of
universe-cli cd - Add NixOS/Home Manager module for automatic installation (including
universe-cli cdsetup)
Ideas
- Add a system for external subcommands so it is extensible
- Git/Cargo style, automatically deferring to executables named
universe-cli-$NAME?
- Git/Cargo style, automatically deferring to executables named