mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-08-08 21:04:38 -05:00
feat: fixed syntax error
This commit is contained in:
parent
480a6f4775
commit
f06237173f
1 changed files with 43 additions and 45 deletions
|
@ -22,51 +22,49 @@ let
|
|||
keyword = instances.${name}.short;
|
||||
}) (builtins.map (service: instances.${service}.name) services);
|
||||
|
||||
bookmarkConfigs =
|
||||
let
|
||||
port = name: toString instances.${name}.ports.port0;
|
||||
in
|
||||
[
|
||||
{
|
||||
suffix = "(Remote)";
|
||||
urlTemplate = name: "https://${instances.${name}.domains.url0}";
|
||||
services = [
|
||||
"audiobookshelf"
|
||||
"forgejo"
|
||||
"glance"
|
||||
"jellyfin"
|
||||
"mastodon"
|
||||
"ollama"
|
||||
"opencloud"
|
||||
"owncast"
|
||||
"peertube"
|
||||
"searx"
|
||||
"vaultwarden"
|
||||
];
|
||||
}
|
||||
{
|
||||
suffix = "(Desktop)";
|
||||
urlTemplate = "http://${mars.ip.address0}:${port}";
|
||||
services = [
|
||||
"ollama"
|
||||
"syncthing"
|
||||
];
|
||||
}
|
||||
{
|
||||
suffix = "(Server)";
|
||||
urlTemplate = "http://${ceres.ip.address0}:${port}";
|
||||
services = [
|
||||
"jellyfin"
|
||||
];
|
||||
}
|
||||
{
|
||||
suffix = "(Synology)";
|
||||
urlTemplate = "http://${synology.ip.address0}:${port}";
|
||||
services = [
|
||||
"syncthing"
|
||||
];
|
||||
}
|
||||
];
|
||||
bookmarkConfigs = [
|
||||
{
|
||||
suffix = "(Remote)";
|
||||
urlTemplate = name: "https://${instances.${name}.domains.url0}";
|
||||
services = [
|
||||
"audiobookshelf"
|
||||
"forgejo"
|
||||
"glance"
|
||||
"jellyfin"
|
||||
"mastodon"
|
||||
"ollama"
|
||||
"opencloud"
|
||||
"owncast"
|
||||
"peertube"
|
||||
"searx"
|
||||
"vaultwarden"
|
||||
];
|
||||
}
|
||||
{
|
||||
suffix = "(Desktop)";
|
||||
urlTemplate = name: "http://${mars.ip.address0}:${builtins.toString instances.${name}.ports.port0}";
|
||||
services = [
|
||||
"ollama"
|
||||
"syncthing"
|
||||
];
|
||||
}
|
||||
{
|
||||
suffix = "(Server)";
|
||||
urlTemplate =
|
||||
name: "http://${ceres.ip.address0}:${builtins.toString instances.${name}.ports.port0}";
|
||||
services = [
|
||||
"jellyfin"
|
||||
];
|
||||
}
|
||||
{
|
||||
suffix = "(Synology)";
|
||||
urlTemplate =
|
||||
name: "http://${synology.ip.address0}:${builtins.toString instances.${name}.ports.port0}";
|
||||
services = [
|
||||
"syncthing"
|
||||
];
|
||||
}
|
||||
];
|
||||
|
||||
generatedBookmarks = builtins.concatLists (builtins.map makeBookmarks bookmarkConfigs);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue