Inspiration

What it does

uses CDK to build a mint, Nix to create a systemd module service, and nixos-anywhere to turn any machine into a NixOS machine so you can go from having a machine to running a mint blitzschnell.

How we built it

I wrote a NixOS module for CDK's mintd tool, then used nixos-anywhere to deploy the nixOS machine configuration. Works nicely with nix-bitcoin to configure the Bitcoin node and Lightning node along with it.

Challenges we ran into

Need to think about defaults better, nix-to-TOML config is a little awkward, and couldn't deploy to a real hoster from scratch because we'd have to sync bitcoin.

Accomplishments that we're proud of

a bunch of the Nix work on CDK will probably be upstreamed!

What we learned

Interop gud. Rust compile times less gud.

What's next for mint-anywhere

A nice repo with examples so people can let a thousand mints bloom.

Built With

  • nix
Share this project:

Updates