Browse Source

nixops geraffel

container/radius
Astro 3 years ago
parent
commit
a9e0b9c77b
  1. 2
      README.md
  2. 10
      hq.nixops

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

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

Loading…
Cancel
Save