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

@ -30,7 +30,10 @@ in
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"; }];