nix-deploy/README.md

482 B

NixOS deployments using nixus.

TL;DR:

  1. make update
  2. make result
  3. make deploy

First make sure you have niv so you can upgrade dependency versions in sources.json.

$ nix-shell -p niv
$ (cd config/sources && niv update)

Build with:

$ nix-build deploy/

Deploy by running the generated executable.

$ ./result

Switching nixpkgs branch

cd config/sources
niv modify nixpkgs -b nixos-xx.yy