summaryrefslogtreecommitdiff
path: root/README.md
blob: 60845a2fc09277f36f6bea284c7c2893e45c0cd1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# 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)