My universe is complicated, so I gave it a command-line interface
Find a file
2026-01-12 21:53:53 -05:00
src rebuild: replace --use-remote-sudo with --sudo 2026-01-12 21:53:53 -05:00
.envrc init 2023-07-27 00:37:39 -04:00
.gitignore init 2023-07-27 00:37:39 -04:00
Cargo.lock improve handling of nix command output 2023-07-27 15:22:17 -04:00
Cargo.toml improve handling of nix command output 2023-07-27 15:22:17 -04:00
flake.lock bump flake inputs 2026-01-12 21:53:32 -05:00
flake.nix bump flake inputs 2025-01-18 18:30:54 -05:00
LICENSE.txt init 2023-07-27 00:37:39 -04:00
pkgs.nix pull package out into flake module 2023-07-27 14:20:09 -04:00
readme.md update readme 2023-07-27 14:28:18 -04:00

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 cd setup)

Ideas

  • Add a system for external subcommands so it is extensible
    • Git/Cargo style, automatically deferring to executables named universe-cli-$NAME?