summaryrefslogtreecommitdiff
path: root/README.md
blob: 57ba3f4a49b9b3d3b0ed1d7b46af4d1940506198 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[![biz build status](https://builds.sr.ht/~ben/biz.svg)](https://builds.sr.ht/~ben/biz?)

# Deployment

To build the production server config locally:

    make clean result

To push the built closure and switch to the new configuration (will ask for ssh
passphrase 2x):

    make copy switch

A quick deploy can be just:

    make clean copy switch

When that damn bug gets fixed, we could just do:

    nix-deploy --to root@simatime.com \
      --path $(nix-build --no-out-path ./nixos.nix)