nixops geraffel

This commit is contained in:
Astro 2019-04-02 16:44:40 +02:00
förälder 72376456e1
incheckning a9e0b9c77b
2 ändrade filer med 10 tillägg och 2 borttagningar

Visa fil

@ -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
```

Visa fil

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