feat: fixed syntax error

This commit is contained in:
Nick 2025-07-09 04:17:42 -05:00
parent 480a6f4775
commit f06237173f

View file

@ -22,51 +22,49 @@ let
keyword = instances.${name}.short; keyword = instances.${name}.short;
}) (builtins.map (service: instances.${service}.name) services); }) (builtins.map (service: instances.${service}.name) services);
bookmarkConfigs = bookmarkConfigs = [
let {
port = name: toString instances.${name}.ports.port0; suffix = "(Remote)";
in urlTemplate = name: "https://${instances.${name}.domains.url0}";
[ services = [
{ "audiobookshelf"
suffix = "(Remote)"; "forgejo"
urlTemplate = name: "https://${instances.${name}.domains.url0}"; "glance"
services = [ "jellyfin"
"audiobookshelf" "mastodon"
"forgejo" "ollama"
"glance" "opencloud"
"jellyfin" "owncast"
"mastodon" "peertube"
"ollama" "searx"
"opencloud" "vaultwarden"
"owncast" ];
"peertube" }
"searx" {
"vaultwarden" suffix = "(Desktop)";
]; urlTemplate = name: "http://${mars.ip.address0}:${builtins.toString instances.${name}.ports.port0}";
} services = [
{ "ollama"
suffix = "(Desktop)"; "syncthing"
urlTemplate = "http://${mars.ip.address0}:${port}"; ];
services = [ }
"ollama" {
"syncthing" suffix = "(Server)";
]; urlTemplate =
} name: "http://${ceres.ip.address0}:${builtins.toString instances.${name}.ports.port0}";
{ services = [
suffix = "(Server)"; "jellyfin"
urlTemplate = "http://${ceres.ip.address0}:${port}"; ];
services = [ }
"jellyfin" {
]; suffix = "(Synology)";
} urlTemplate =
{ name: "http://${synology.ip.address0}:${builtins.toString instances.${name}.ports.port0}";
suffix = "(Synology)"; services = [
urlTemplate = "http://${synology.ip.address0}:${port}"; "syncthing"
services = [ ];
"syncthing" }
]; ];
}
];
generatedBookmarks = builtins.concatLists (builtins.map makeBookmarks bookmarkConfigs); generatedBookmarks = builtins.concatLists (builtins.map makeBookmarks bookmarkConfigs);