2021-09-22 10:16:11 +02:00
|
|
|
NixOS deployments using [nixus](https://github.com/Infinisil/nixus).
|
2022-02-27 17:30:31 +01:00
|
|
|
|
2024-01-06 09:32:52 +01:00
|
|
|
TL;DR:
|
|
|
|
1. `make update`
|
|
|
|
2. `make result`
|
|
|
|
3. `make deploy`
|
|
|
|
|
2022-02-27 17:30:31 +01:00
|
|
|
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
|
2024-01-06 09:32:52 +01:00
|
|
|
$ ./result
|
2022-02-27 17:30:31 +01:00
|
|
|
```
|