Some helper scripts that make it a little easier to use Nix.
I wrote them to use with sd
, a tool for wrangling scripts. But they're just bash scripts, so they don't really need sd
to work.
The individual scripts are motivated during my blog series How to Learn Nix. Specifically:
sd nix info
: Switching from Homebrew to Nixsd nix diff
: Setting up a declarative user environmentsd nix sync
: Setting up a declarative user environmentsd nix shell
: Saving your shellsd nix install
: Okay, this one isn't really explained on the blog, and I don't ever really actually use it beacuse ofdiff
andsync
above, but it was written to avoid some of the problems described in How to install Python.
Clone this repo into your ~/sd
directory as ~/sd/nix
, and then you can run sd nix info
at your heart's discretion.