mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2026-04-14 21:29:12 +02:00
fix: long topology rendering times
This commit is contained in:
parent
70e908fcb0
commit
edd2c61b17
50 changed files with 20 additions and 12 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue