chore: updated ips

This commit is contained in:
Nick 2025-11-20 00:39:18 -06:00
parent d3f98327aa
commit 8a0e8183bb

View file

@ -1,12 +1,7 @@
{ flake, ... }: { flake, ... }:
let let
inherit (flake.config.machines.devices) inherit (flake.config.machines.devices) mars;
ceres inherit (flake.config.services) instances;
mars
;
inherit (flake.config.services)
instances
;
makeBookmarks = makeBookmarks =
{ {
@ -21,23 +16,24 @@ let
keyword = instances.${name}.short; keyword = instances.${name}.short;
}) (builtins.map (service: instances.${service}.name) services); }) (builtins.map (service: instances.${service}.name) services);
instanceList = [
instances.forgejo.name
instances.jellyfin.name
instances.mastodon.name
instances.vaultwarden.name
instances.firefly-iii.name
];
bookmarkConfigs = [ bookmarkConfigs = [
{ {
suffix = "(Remote)"; suffix = "(Remote)";
urlTemplate = name: "https://${instances.${name}.domains.url0}"; urlTemplate = name: "https://${instances.${name}.domains.url0}";
services = [ services = instanceList;
instances.audiobookshelf.name }
instances.forgejo.name {
instances.glance.name suffix = "(Server)";
instances.jellyfin.name urlTemplate =
instances.mastodon.name name: "http://${instances.${name}.interface.ip}:${builtins.toString instances.${name}.ports.port0}";
instances.ollama.name services = instanceList;
instances.opencloud.name
instances.searx.name
instances.vaultwarden.name
instances.prompter.name
instances.firefly-iii.name
];
} }
{ {
suffix = "(Desktop)"; suffix = "(Desktop)";
@ -47,15 +43,6 @@ let
instances.syncthing.name instances.syncthing.name
]; ];
} }
{
suffix = "(Server)";
urlTemplate =
name: "http://${ceres.ip.address0}:${builtins.toString instances.${name}.ports.port0}";
services = [
instances.jellyfin.name
instances.firefly-iii.name
];
}
]; ];
generatedBookmarks = builtins.concatLists (builtins.map makeBookmarks bookmarkConfigs); generatedBookmarks = builtins.concatLists (builtins.map makeBookmarks bookmarkConfigs);