ctucx.git: nixfiles

ctucx' nixfiles

commit 2fd2ab5d7f9aa911cbb75b19b2d9d00541ba5c66
parent 7844f46f52b022920fa0f58ca995be49d278b428
Author: Katja (ctucx) <git@ctu.cx>
Date: Mon, 2 Dec 2024 19:20:48 +0100

machines/trabbi: move `grafana` to host `hector`
7 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/machines/hector/default.nix b/machines/hector/default.nix
@@ -10,6 +10,8 @@
 
     # monitoring
     ./prometheus.nix
+    ./grafana
+
     ./syncthing.nix
   ];
 
diff --git a/machines/trabbi/grafana/dashboards/SmartHome.json b/machines/hector/grafana/dashboards/SmartHome.json
diff --git a/machines/trabbi/grafana/dashboards/node-exporter.json b/machines/hector/grafana/dashboards/node-exporter.json
diff --git a/machines/trabbi/grafana/default.nix b/machines/hector/grafana/default.nix
diff --git a/machines/trabbi/default.nix b/machines/trabbi/default.nix
@@ -8,8 +8,6 @@
   imports = [
     ./hardware-configuration.nix
 
-    ./grafana
-
     # cal- and card-dav server
     ./radicale.nix
 
diff --git a/secrets/briefkasten/influx/grafana_token_mqttData.age b/secrets/briefkasten/influx/grafana_token_mqttData.age
@@ -1,14 +1,14 @@
 -----BEGIN AGE ENCRYPTED FILE-----
-YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBrbitrUTdZaXVvRlhoWjdJ
-ZVdDVzI3VnB3cVM2V1FOdnJZWGQySDJKelVZCm4rTU96NEhRU3dHS0NrMHRBeENV
-YWlwUmk1QUZaV29tTlhrb0tQZUF5ekUKLT4gc3NoLWVkMjU1MTkgNGhLQ013IEFI
-Vk93eHhFV1pwVzdObUdKdzRFOGszejdMVTM2dzdxRWJMZGR3MFNZM1EKMWtWYzBN
-R1VneGJTS3ZCR2Z0SThndXhNb0x0UytJakFSL2ZQclJTRGQ2OAotPiBzc2gtZWQy
-NTUxOSBxOG9jemcgQWx0TWt0YjNEd1N0V1BUdnNwYSsxeUVxM1dXOUhSNXErMHZH
-TUtqMVR5SQpIT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LaNg9+rzJta8
+uVQ=
 -----END AGE ENCRYPTED FILE-----
diff --git a/secrets/secrets.nix b/secrets/secrets.nix
@@ -33,8 +33,8 @@ in {
   "briefkasten/syncthing/cert.age".publicKeys                       = [ main-key briefkasten ];
   "briefkasten/syncthing/htpasswd.age".publicKeys                   = [ main-key briefkasten ];
 
-  "briefkasten/influx/grafana_token_mqttData.age".publicKeys        = [ main-key briefkasten trabbi ];
   "briefkasten/influx/grafana_token_solaxData.age".publicKeys       = [ main-key briefkasten trabbi ];
+  "briefkasten/influx/grafana_token_mqttData.age".publicKeys        = [ main-key briefkasten hector ];
   "briefkasten/influx/telegraf_token_mqttData.age".publicKeys       = [ main-key briefkasten ];
   "briefkasten/influx/telegraf_token_solaxData.age".publicKeys      = [ main-key briefkasten ];
   "briefkasten/influx/master_token.age".publicKeys                  = [ main-key briefkasten ];