From 67ddf074edec7631067c5f634c3e56e0848cd11f Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Wed, 30 Jan 2019 17:20:43 -0800 Subject: Build production machine locally --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 README.md (limited to 'README.md') diff --git a/README.md b/README.md new file mode 100644 index 0000000..6e98291 --- /dev/null +++ b/README.md @@ -0,0 +1,10 @@ +# Deployment + +To build the production server config locally: + + nix-build --attr system ./nixos.nix + +To deploy: + + nix-deploy --to root@simatime.com \ + --path $(nix-build --no-out-path ./nixos.nix) -- cgit v1.2.3