nix-deploy/README.md

16 lines
332 B
Markdown
Raw Normal View History

2021-09-22 10:16:11 +02:00
NixOS deployments using [nixus](https://github.com/Infinisil/nixus).
First make sure you have `niv` so you can upgrade dependency versions in `sources.json`.
```sh
$ nix-shell -p niv
$ (cd config/sources && niv update)
```
Build with:
```sh
$ nix-build deploy/
```
Deploy by running the generated executable.
```sh
$ ./results
```