summaryrefslogtreecommitdiff
path: root/README.md
blob: a093a456edd8409cca656a6d520f990ecafdb7e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Deployment

To build the production server config locally:

    nix-build --attr system ./nixos.nix

To deploy (will ask for ssh passphrase 2x):

    ./deploy.sh

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

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