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; + }; }; }