From bdf3f010a62d6bd74fbe1e1fcce478c92e28979d Mon Sep 17 00:00:00 2001 From: Astro Date: Mon, 1 Apr 2019 15:44:55 +0200 Subject: [PATCH] add README with Deployment instructions --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 00000000..83498763 --- /dev/null +++ b/README.md @@ -0,0 +1,15 @@ +# Deployment + +Beide failen bei Activation des neuen Profils. (TODO) + +## Mit `nixos-switch rebuild` + +```shell +nixos-rebuild switch -I nixos-config=./hosts/storage-ng/$HOST/configuration.nix --target-host "root@$HOST.hq.c3d2.de" +``` + +## Mit NixOps + +```shell +nixops create hq.nixops -d hq +```