Browse Source

nixops geraffel

container/radius
Astro 2 years ago
parent
commit
a9e0b9c77b
2 changed files with 10 additions and 2 deletions
  1. 2
    0
      README.md
  2. 8
    2
      hq.nixops

+ 2
- 0
README.md View File

@@ -12,4 +12,6 @@ nixos-rebuild switch -I nixos-config=./hosts/storage-ng/$HOST/configuration.nix
12 12
 
13 13
 ```shell
14 14
 nixops create  hq.nixops -d hq
15
+nixops deploy -d hq --debug --include=dhcp --force-reboot
16
+nixops deploy -d hq --include=grafana -I nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-18.09.tar.gz --force-reboot
15 17
 ```

+ 8
- 2
hq.nixops View File

@@ -7,7 +7,10 @@
7 7
       imports = [
8 8
         hosts/storage-ng/grafana/configuration.nix
9 9
       ];
10
-      deployment.targetHost = "grafana.hq.c3d2.de";
10
+      deployment = {
11
+        targetHost = "grafana.hq.c3d2.de";
12
+        storeKeysOnMachine = true;
13
+      };
11 14
     };
12 15
 
13 16
   "dhcp" =
@@ -16,6 +19,9 @@
16 19
       imports = [
17 20
         hosts/storage-ng/dhcp/configuration.nix
18 21
       ];
19
-      deployment.targetHost = "2a02:8106:208:5201:3801:15ff:fe95:8988";
22
+      deployment = {
23
+        targetHost = "2a02:8106:208:5201:3801:15ff:fe95:8988";
24
+        storeKeysOnMachine = true;
25
+      };
20 26
     };
21 27
 }

Loading…
Cancel
Save