fix: long topology rendering times
Some checks failed
Build and Deploy / build (push) Has been cancelled
Flake check / Check flake (push) Has been cancelled
Build and Deploy / deploy (push) Has been cancelled

This commit is contained in:
Leon Schwarzäugl 2026-01-24 01:16:29 +01:00
parent 70e908fcb0
commit edd2c61b17
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
50 changed files with 20 additions and 12 deletions

View file

@ -2704,11 +2704,11 @@ Another note concerning [[https://flake.parts/][flake-parts]]:
services = {
ollama = {
name = "Ollama";
icon = "${self}/files/topology-images/ollama.png";
icon = "services.ollama";
};
openwebui = {
name = "Open WebUI";
icon = "${self}/files/topology-images/openwebui.png";
icon = "services.open-webui";
};
comfyui = {
name = "Comfy UI";
@ -13130,7 +13130,10 @@ This is the configuration to make [[#h:58c7563e-6954-42e6-a622-9d06523e8e24][Hin
mpv
];
topology.self.services.${serviceName}.info = "http://localhost:${builtins.toString servicePort}";
topology.self.services.${serviceName} = {
info = "http://localhost:${builtins.toString servicePort}";
icon = lib.mkForce "${self}/files/topology-images/mpd.png";
};
environment.persistence."/state" = lib.mkIf config.swarselsystems.isMicroVM {
directories = [{ directory = "/var/lib/${serviceName}"; user = "mpd"; group = "mpd"; }];
@ -16799,7 +16802,7 @@ Deployment notes:
- finally, disable new user registration in web ui
#+begin_src nix-ts :tangle modules/nixos/server/slink.nix
{ self, lib, config, dns, globals, confLib, ... }:
{ lib, config, dns, globals, confLib, ... }:
let
inherit (confLib.gen { name = "slink"; port = 3000; dir = "/var/lib/slink"; }) servicePort serviceName serviceDomain serviceDir serviceAddress proxyAddress4 proxyAddress6;
inherit (confLib.static) isHome isProxied webProxy homeWebProxy dnsServer homeProxyIf webProxyIf homeServiceAddress nginxAccessRules;
@ -16858,7 +16861,7 @@ in
topology.self.services.${serviceName} = {
name = lib.swarselsystems.toCapitalized serviceName;
info = "https://${serviceDomain}";
icon = "${self}/files/topology-images/shlink.png";
icon = "services.not-available";
};
globals = {
@ -37541,7 +37544,8 @@ Here lies defined the readme for GitHub and Forgejo:
<details>
<summary>Click here for a summary of my infrastructure</summary>
<img width="4176" height="8367" alt="topology" src="https://github.com/user-attachments/assets/8b7f148d-8e49-4788-ba0f-4487482a483b" />
<img width="4250" height="9117" alt="topology" src="https://github.com/user-attachments/assets/582264cf-f239-4699-b90f-69f2cef5a7b2" />
### Programs