fix: long topology rendering times
3
.github/README.md
vendored
|
|
@ -109,7 +109,8 @@
|
||||||
<details>
|
<details>
|
||||||
<summary>Click here for a summary of my infrastructure</summary>
|
<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
|
### Programs
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2704,11 +2704,11 @@ Another note concerning [[https://flake.parts/][flake-parts]]:
|
||||||
services = {
|
services = {
|
||||||
ollama = {
|
ollama = {
|
||||||
name = "Ollama";
|
name = "Ollama";
|
||||||
icon = "${self}/files/topology-images/ollama.png";
|
icon = "services.ollama";
|
||||||
};
|
};
|
||||||
openwebui = {
|
openwebui = {
|
||||||
name = "Open WebUI";
|
name = "Open WebUI";
|
||||||
icon = "${self}/files/topology-images/openwebui.png";
|
icon = "services.open-webui";
|
||||||
};
|
};
|
||||||
comfyui = {
|
comfyui = {
|
||||||
name = "Comfy UI";
|
name = "Comfy UI";
|
||||||
|
|
@ -13130,7 +13130,10 @@ This is the configuration to make [[#h:58c7563e-6954-42e6-a622-9d06523e8e24][Hin
|
||||||
mpv
|
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 {
|
environment.persistence."/state" = lib.mkIf config.swarselsystems.isMicroVM {
|
||||||
directories = [{ directory = "/var/lib/${serviceName}"; user = "mpd"; group = "mpd"; }];
|
directories = [{ directory = "/var/lib/${serviceName}"; user = "mpd"; group = "mpd"; }];
|
||||||
|
|
@ -16799,7 +16802,7 @@ Deployment notes:
|
||||||
- finally, disable new user registration in web ui
|
- finally, disable new user registration in web ui
|
||||||
|
|
||||||
#+begin_src nix-ts :tangle modules/nixos/server/slink.nix
|
#+begin_src nix-ts :tangle modules/nixos/server/slink.nix
|
||||||
{ self, lib, config, dns, globals, confLib, ... }:
|
{ lib, config, dns, globals, confLib, ... }:
|
||||||
let
|
let
|
||||||
inherit (confLib.gen { name = "slink"; port = 3000; dir = "/var/lib/slink"; }) servicePort serviceName serviceDomain serviceDir serviceAddress proxyAddress4 proxyAddress6;
|
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;
|
inherit (confLib.static) isHome isProxied webProxy homeWebProxy dnsServer homeProxyIf webProxyIf homeServiceAddress nginxAccessRules;
|
||||||
|
|
@ -16858,7 +16861,7 @@ in
|
||||||
topology.self.services.${serviceName} = {
|
topology.self.services.${serviceName} = {
|
||||||
name = lib.swarselsystems.toCapitalized serviceName;
|
name = lib.swarselsystems.toCapitalized serviceName;
|
||||||
info = "https://${serviceDomain}";
|
info = "https://${serviceDomain}";
|
||||||
icon = "${self}/files/topology-images/shlink.png";
|
icon = "services.not-available";
|
||||||
};
|
};
|
||||||
|
|
||||||
globals = {
|
globals = {
|
||||||
|
|
@ -37541,7 +37544,8 @@ Here lies defined the readme for GitHub and Forgejo:
|
||||||
<details>
|
<details>
|
||||||
<summary>Click here for a summary of my infrastructure</summary>
|
<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
|
### Programs
|
||||||
|
|
||||||
|
|
|
||||||
|
Before Width: | Height: | Size: 122 KiB After Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 393 KiB After Width: | Height: | Size: 9.3 KiB |
|
Before Width: | Height: | Size: 139 KiB After Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 91 KiB After Width: | Height: | Size: 9.9 KiB |
|
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 4 KiB |
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 8.2 KiB |
|
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 4.7 KiB |
|
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 2.5 KiB |
|
Before Width: | Height: | Size: 379 KiB After Width: | Height: | Size: 26 KiB |
|
Before Width: | Height: | Size: 90 KiB After Width: | Height: | Size: 6.9 KiB |
|
Before Width: | Height: | Size: 5.8 KiB After Width: | Height: | Size: 5 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 9.1 KiB |
|
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.4 KiB |
|
Before Width: | Height: | Size: 5.5 KiB After Width: | Height: | Size: 3.5 KiB |
|
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 157 KiB After Width: | Height: | Size: 7.8 KiB |
|
Before Width: | Height: | Size: 209 KiB After Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 96 KiB After Width: | Height: | Size: 8.7 KiB |
|
Before Width: | Height: | Size: 329 KiB After Width: | Height: | Size: 6.3 KiB |
|
Before Width: | Height: | Size: 7.5 KiB |
|
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 3.5 KiB |
|
Before Width: | Height: | Size: 50 KiB After Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 9.7 KiB After Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 83 KiB After Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 8 KiB After Width: | Height: | Size: 9.1 KiB |
|
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 4.7 KiB |
|
Before Width: | Height: | Size: 5.8 KiB After Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 92 KiB After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 293 KiB After Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 200 KiB |
|
Before Width: | Height: | Size: 77 KiB After Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 3.8 KiB |
|
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 87 KiB After Width: | Height: | Size: 4.2 KiB |
|
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 4 KiB |
|
Before Width: | Height: | Size: 250 KiB After Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 7.2 KiB |
|
Before Width: | Height: | Size: 46 KiB After Width: | Height: | Size: 4.1 KiB |
|
Before Width: | Height: | Size: 94 KiB After Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 3 MiB After Width: | Height: | Size: 3 MiB |
|
Before Width: | Height: | Size: 147 KiB After Width: | Height: | Size: 142 KiB |
|
|
@ -30,7 +30,10 @@ in
|
||||||
mpv
|
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 {
|
environment.persistence."/state" = lib.mkIf config.swarselsystems.isMicroVM {
|
||||||
directories = [{ directory = "/var/lib/${serviceName}"; user = "mpd"; group = "mpd"; }];
|
directories = [{ directory = "/var/lib/${serviceName}"; user = "mpd"; group = "mpd"; }];
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{ self, lib, config, dns, globals, confLib, ... }:
|
{ lib, config, dns, globals, confLib, ... }:
|
||||||
let
|
let
|
||||||
inherit (confLib.gen { name = "slink"; port = 3000; dir = "/var/lib/slink"; }) servicePort serviceName serviceDomain serviceDir serviceAddress proxyAddress4 proxyAddress6;
|
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;
|
inherit (confLib.static) isHome isProxied webProxy homeWebProxy dnsServer homeProxyIf webProxyIf homeServiceAddress nginxAccessRules;
|
||||||
|
|
@ -57,7 +57,7 @@ in
|
||||||
topology.self.services.${serviceName} = {
|
topology.self.services.${serviceName} = {
|
||||||
name = lib.swarselsystems.toCapitalized serviceName;
|
name = lib.swarselsystems.toCapitalized serviceName;
|
||||||
info = "https://${serviceDomain}";
|
info = "https://${serviceDomain}";
|
||||||
icon = "${self}/files/topology-images/shlink.png";
|
icon = "services.not-available";
|
||||||
};
|
};
|
||||||
|
|
||||||
globals = {
|
globals = {
|
||||||
|
|
|
||||||
|
|
@ -234,11 +234,11 @@
|
||||||
services = {
|
services = {
|
||||||
ollama = {
|
ollama = {
|
||||||
name = "Ollama";
|
name = "Ollama";
|
||||||
icon = "${self}/files/topology-images/ollama.png";
|
icon = "services.ollama";
|
||||||
};
|
};
|
||||||
openwebui = {
|
openwebui = {
|
||||||
name = "Open WebUI";
|
name = "Open WebUI";
|
||||||
icon = "${self}/files/topology-images/openwebui.png";
|
icon = "services.open-webui";
|
||||||
};
|
};
|
||||||
comfyui = {
|
comfyui = {
|
||||||
name = "Comfy UI";
|
name = "Comfy UI";
|
||||||
|
|
|
||||||