configurations of hq services
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

hq.nixops 3.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. {
  2. network.description = "C3D2 HQ";
  3. "grafana" =
  4. { ... }:
  5. {
  6. imports = [
  7. hosts/containers/grafana/configuration.nix
  8. ];
  9. deployment = {
  10. targetHost = "grafana.hq.c3d2.de";
  11. storeKeysOnMachine = true;
  12. };
  13. };
  14. "dhcp" =
  15. { ... }:
  16. {
  17. imports = [
  18. hosts/containers/dhcp/configuration.nix
  19. ];
  20. deployment = {
  21. targetHost = "2a02:8106:208:5201:3801:15ff:fe95:8988";
  22. storeKeysOnMachine = true;
  23. };
  24. };
  25. "mucbot" =
  26. { ... }:
  27. {
  28. imports = [
  29. hosts/containers/mucbot/configuration.nix
  30. ];
  31. deployment = {
  32. targetHost = "2a02:8106:208:5201:28db:dff:fe6b:e89a";
  33. storeKeysOnMachine = true;
  34. };
  35. };
  36. "mpd-index" =
  37. { ... }:
  38. {
  39. imports = [
  40. hosts/containers/mpd-index/configuration.nix
  41. ];
  42. deployment = {
  43. targetHost = "2a02:8106:208:5201:5ca3:f7ff:fe6d:dcf0";
  44. storeKeysOnMachine = true;
  45. };
  46. };
  47. "public-access-proxy" =
  48. { ... }:
  49. {
  50. imports = [
  51. hosts/containers/public-access-proxy/configuration.nix
  52. ];
  53. deployment = {
  54. targetHost = "2a02:8106:208:5201:1024:5fff:febd:9be7";
  55. storeKeysOnMachine = true;
  56. };
  57. };
  58. "elastic1" =
  59. { ... }:
  60. {
  61. imports = [
  62. hosts/containers/elastic/configuration.nix
  63. ];
  64. deployment = {
  65. targetHost = "2a02:8106:208:5282:e0d5:d8ff:fe54:586c";
  66. storeKeysOnMachine = true;
  67. };
  68. };
  69. "logging" =
  70. { ... }:
  71. {
  72. imports = [
  73. hosts/containers/logging/configuration.nix
  74. ];
  75. deployment = {
  76. targetHost = "2a02:8106:208:5282:6811:edff:fe40:89c6";
  77. storeKeysOnMachine = true;
  78. };
  79. };
  80. "storage-ng" =
  81. { ... }:
  82. {
  83. imports = [
  84. hosts/storage-ng/configuration.nix
  85. ];
  86. deployment = {
  87. targetHost = "2a02:8106:208:5201::20";
  88. storeKeysOnMachine = true;
  89. };
  90. };
  91. "mongo" =
  92. { ... }:
  93. {
  94. imports = [
  95. hosts/containers/mongo/configuration.nix
  96. ];
  97. deployment = {
  98. targetHost = "2a02:8106:208:5282:5038:2aff:feba:7d3b";
  99. storeKeysOnMachine = true;
  100. };
  101. };
  102. "registry" =
  103. { ... }:
  104. {
  105. imports = [
  106. hosts/containers/registry/configuration.nix
  107. ];
  108. deployment = {
  109. targetHost = "2a02:8106:208:5201::34";
  110. storeKeysOnMachine = true;
  111. };
  112. };
  113. "prometheus" =
  114. { ... }:
  115. {
  116. imports = [
  117. hosts/containers/prometheus/configuration.nix
  118. ];
  119. deployment = {
  120. targetHost = "2a02:8106:208:5282:8c46:d6ff:fe43:6afd";
  121. storeKeysOnMachine = true;
  122. };
  123. };
  124. "spaceapi" =
  125. { ... }:
  126. {
  127. imports = [
  128. hosts/containers/spaceapi/configuration.nix
  129. ];
  130. deployment = {
  131. targetHost = "2a02:8106:208:5282:1457:adff:fe93:62e9";
  132. storeKeysOnMachine = true;
  133. };
  134. };
  135. "dn42" =
  136. { ... }:
  137. {
  138. imports = [
  139. hosts/containers/dn42/configuration.nix
  140. ];
  141. deployment = {
  142. targetHost = "172.22.99.253";
  143. storeKeysOnMachine = true;
  144. };
  145. };
  146. # Run with:
  147. # -I nixpkgs=https://nixos.org/channels/nixos-unstable/nixexprs.tar.xz
  148. "dnscache" = {
  149. imports = [
  150. hosts/containers/dnscache/configuration.nix
  151. ];
  152. deployment = {
  153. targetHost = "dnscache.serv.zentralwerk.org";
  154. storeKeysOnMachine = true;
  155. };
  156. };
  157. }