ctucx.git: nixfiles

ctucx' nixfiles

commit 67cb35437d3fda94eedf9d47906e7127372bb1d3
parent 28a8f4bf719819d34cf85234d51cc1e3ae786fef
Author: Leah (ctucx) <git@ctu.cx>
Date: Wed, 17 May 2023 10:14:13 +0200

cleanup
3 files changed, 28 insertions(+), 27 deletions(-)
diff --git a/configurations/linux/services/dns.nix b/configurations/linux/services/dns.nix
@@ -37,7 +37,7 @@
           ns2          = (host "46.38.253.139" "2a03:4000:1:45d::1");
 
           blechkasten.CNAME         = [ "blechkasten.home" ];
-          "internet-of-plants".AAAA = [ (aaaa "2a0f:4ac0:acab::103") ];
+          "internet-of-plants".AAAA = [ "2a0f:4ac0:acab::103" ];
 
           "gateway.home"        = (host "195.39.246.41" "2a0f:4ac0:acab::1");
           "stasicontainer.home" = (host "195.39.246.35" "2a0f:4ac0:acab::35");
diff --git a/machines/briefkasten/websites/things.home.ctu.cx.nix b/machines/briefkasten/websites/things.home.ctu.cx.nix
@@ -7,7 +7,7 @@
   age.secrets.restic-ctucx-things.file = ./. + "/../../../secrets/${config.networking.hostName}/restic/ctucx-things.age";
 
   restic-backups.things = {
-    user            = "things";
+    user            = "ctucx-things";
     passwordFile    = config.age.secrets.restic-ctucx-things.path;
     paths           = [ "/var/lib/ctucx-things" ];
   };
diff --git a/secrets/secrets.nix b/secrets/secrets.nix
@@ -10,45 +10,46 @@ let
   wanderduene = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIM+HWYkFCmuHR8HeExYXc2L9CxRdvYZ1UCkbbeDCvF0u";
 
 in {
-  "passwords/leah-at-f2k1-de.age".publicKeys                  = [ leah trabbi wanderduene briefkasten ];
-  "passwords/leah.age".publicKeys                             = [ leah trabbi wanderduene briefkasten ];
+  "passwords/leah-at-f2k1-de.age".publicKeys                        = [ leah trabbi wanderduene briefkasten ];
+  "passwords/leah.age".publicKeys                                   = [ leah trabbi wanderduene briefkasten ];
 
-  "restic-server/briefkasten.age".publicKeys                  = [ leah trabbi briefkasten ];
-  "restic-server/wanderduene.age".publicKeys                  = [ leah trabbi briefkasten ];
+  "restic-server/briefkasten.age".publicKeys                        = [ leah trabbi briefkasten ];
+  "restic-server/wanderduene.age".publicKeys                        = [ leah trabbi briefkasten ];
 
 
-  "blechkasten/syncthing/key.age".publicKeys                  = [ leah blechkasten ];
-  "blechkasten/syncthing/cert.age".publicKeys                 = [ leah blechkasten ];
+  "blechkasten/syncthing/key.age".publicKeys                        = [ leah blechkasten ];
+  "blechkasten/syncthing/cert.age".publicKeys                       = [ leah blechkasten ];
 
 
-  "briefkasten/syncthing/key.age".publicKeys                  = [ leah briefkasten ];
-  "briefkasten/syncthing/cert.age".publicKeys                 = [ leah briefkasten ];
+  "briefkasten/syncthing/key.age".publicKeys                        = [ leah briefkasten ];
+  "briefkasten/syncthing/cert.age".publicKeys                       = [ leah briefkasten ];
+  "briefkasten/syncthing/htpasswd.age".publicKeys                   = [ leah briefkasten ];
 
-  "briefkasten/influx/grafana_token_mqttData.age".publicKeys   = [ leah briefkasten trabbi];
-  "briefkasten/influx/grafana_token_solaxData.age".publicKeys  = [ leah briefkasten trabbi];
-  "briefkasten/influx/telegraf_token_mqttData.age".publicKeys  = [ leah briefkasten ];
-  "briefkasten/influx/telegraf_token_solaxData.age".publicKeys = [ leah briefkasten ];
-  "briefkasten/influx/master_token.age".publicKeys             = [ leah briefkasten ];
-  "briefkasten/influx/backup_env.age".publicKeys               = [ leah briefkasten ];
+  "briefkasten/influx/grafana_token_mqttData.age".publicKeys        = [ leah briefkasten trabbi];
+  "briefkasten/influx/grafana_token_solaxData.age".publicKeys       = [ leah briefkasten trabbi];
+  "briefkasten/influx/telegraf_token_mqttData.age".publicKeys       = [ leah briefkasten ];
+  "briefkasten/influx/telegraf_token_solaxData.age".publicKeys      = [ leah briefkasten ];
+  "briefkasten/influx/master_token.age".publicKeys                  = [ leah briefkasten ];
+  "briefkasten/influx/backup_env.age".publicKeys                    = [ leah briefkasten ];
 
-  "briefkasten/mosquitto/passwd-leah.age".publicKeys          = [ leah briefkasten ];
-  "briefkasten/mosquitto/passwd-nrw.age".publicKeys           = [ leah briefkasten ];
+  "briefkasten/mosquitto/passwd-leah.age".publicKeys                = [ leah briefkasten ];
+  "briefkasten/mosquitto/passwd-nrw.age".publicKeys                 = [ leah briefkasten ];
 
-  "briefkasten/zigbee2mqtt/secrets.age".publicKeys            = [ leah briefkasten ];
-  "briefkasten/zigbee2mqtt/htpasswd.age".publicKeys           = [ leah briefkasten ];
+  "briefkasten/zigbee2mqtt/secrets.age".publicKeys                  = [ leah briefkasten ];
+  "briefkasten/zigbee2mqtt/htpasswd.age".publicKeys                 = [ leah briefkasten ];
 
-  "briefkasten/telegraf/secrets.env.age".publicKeys           = [ leah briefkasten ];
+  "briefkasten/telegraf/secrets.env.age".publicKeys                 = [ leah briefkasten ];
 
-  "briefkasten/solar-nrw/vpn-secrets.age".publicKeys          = [ leah briefkasten ];
-  "briefkasten/solar-nrw/solax2mqtt.age".publicKeys           = [ leah briefkasten ];
+  "briefkasten/solar-nrw/vpn-secrets.age".publicKeys                = [ leah briefkasten ];
+  "briefkasten/solar-nrw/solax2mqtt.age".publicKeys                 = [ leah briefkasten ];
 
-  "briefkasten/wireguard-privkey.age".publicKeys              = [ leah briefkasten ];
+  "briefkasten/wireguard-privkey.age".publicKeys                    = [ leah briefkasten ];
 
-  "briefkasten/gotosocial-env.age".publicKeys                 = [ leah briefkasten ];
+  "briefkasten/gotosocial-env.age".publicKeys                       = [ leah briefkasten ];
 
-  "briefkasten/radicale-users.age".publicKeys                 = [ leah briefkasten ];
+  "briefkasten/radicale-users.age".publicKeys                       = [ leah briefkasten ];
 
-  "briefkasten/restic-server-htpasswd.age".publicKeys         = [ leah briefkasten ];
+  "briefkasten/restic-server-htpasswd.age".publicKeys               = [ leah briefkasten ];
 
   "briefkasten/restic/radicale.age".publicKeys                      = [ leah briefkasten ];
   "briefkasten/restic/gotosocial.age".publicKeys                    = [ leah briefkasten ];