feat: update topology

This commit is contained in:
Leon Schwarzäugl 2026-01-20 00:20:50 +01:00
parent 3422a39da5
commit 9b7f98df7d
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
14 changed files with 19 additions and 61 deletions

View file

@ -63,19 +63,13 @@ in
# networking.firewall.allowedTCPPorts = [ servicePort federationPort ];
topology.self.services = {
${serviceName} = {
name = lib.swarselsystems.toCapitalized serviceName;
info = "https://${serviceDomain}";
icon = "${self}/files/topology-images/${serviceName}.png";
};
} // (lib.listToAttrs (map
topology.self.services = lib.listToAttrs (map
(service:
lib.nameValuePair "mautrix-${service}" {
name = "mautrix-${service}";
icon = "${self}/files/topology-images/mautrix.png";
})
[ "whatsapp" "signal" "telegram" ]));
[ "whatsapp" "signal" "telegram" ]);
systemd = {
timers."restart-bridges" = {