/morlana

nix-darwin utilities

Primary LanguageRustGNU General Public License v3.0GPL-3.0

morlana

nix-darwin utilities, implemented in Rust

nix run github:ryanccn/morlana

Features

  • Support for better build logs with nix-output-monitor
  • Support for diffing with nvd before switching configurations
  • Confirmation prompts for important actions
  • Flakes-first (does not work with channels setups at the moment)
  • Improved uninstaller logic
    • Addresses NixOS/nix#3261
    • Restores .before-nix-darwin files automagically
  • Works as a standalone binary
  • More aesthetic logging

Getting started

morlana is capable of initializing a nix-darwin system using flakes by itself. In order to get started, run

nix run github:ryanccn/morlana -- init

Alternatively, if you have an existing nix-darwin configuration you want to switch to:

nix run github:ryanccn/morlana -- switch --flake "<path_to_flake>"

To remove nix-darwin from your system:

nix run github:ryanccn/morlana -- uninstall

For more detailed information on available commands and options, run morlana --help.

License

GPLv3