From a9e0b9c77b42330b7d442227b51a81cea12d3b4f Mon Sep 17 00:00:00 2001 From: Astro Date: Tue, 2 Apr 2019 16:44:40 +0200 Subject: [PATCH] nixops geraffel --- README.md | 2 ++ hq.nixops | 10 ++++++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 83498763..e7b12232 100644 --- a/README.md +++ b/README.md @@ -12,4 +12,6 @@ nixos-rebuild switch -I nixos-config=./hosts/storage-ng/$HOST/configuration.nix ```shell nixops create hq.nixops -d hq +nixops deploy -d hq --debug --include=dhcp --force-reboot +nixops deploy -d hq --include=grafana -I nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-18.09.tar.gz --force-reboot ``` diff --git a/hq.nixops b/hq.nixops index 4446c6c3..e186f71c 100644 --- a/hq.nixops +++ b/hq.nixops @@ -7,7 +7,10 @@ imports = [ hosts/storage-ng/grafana/configuration.nix ]; - deployment.targetHost = "grafana.hq.c3d2.de"; + deployment = { + targetHost = "grafana.hq.c3d2.de"; + storeKeysOnMachine = true; + }; }; "dhcp" = @@ -16,6 +19,9 @@ imports = [ hosts/storage-ng/dhcp/configuration.nix ]; - deployment.targetHost = "2a02:8106:208:5201:3801:15ff:fe95:8988"; + deployment = { + targetHost = "2a02:8106:208:5201:3801:15ff:fe95:8988"; + storeKeysOnMachine = true; + }; }; }