feat: changed config module names

This commit is contained in:
Nick 2024-11-04 20:49:43 -06:00
parent 95346caae6
commit 7a6685cbc2
34 changed files with 123 additions and 123 deletions

View file

@ -1,14 +1,14 @@
{flake, ...}: let
inherit (flake.config.people) user0;
inherit (flake.config.people.user.${user0}) aliases;
inherit (flake.config.system.device) nas server;
inherit (flake.config.service) instance;
inherit (flake.config.people.users.${user0}) aliases;
inherit (flake.config.machines.devices) nas server;
inherit (flake.config.services) instances;
gitlabTags = ["git" "gitlab"];
youtubeTags = ["youtube" "you" "tube" "yt"];
jellyfinTags = ["jelly" "video" "streaming" "movies" "shows" "music"];
ollamaTags = [instance.ollama.name "chat" "ai"];
owncastTags = [instance.owncast.name "own" "cast" "stream"];
syncthingTags = [instance.syncthing.name "sync" "thing" instance.synology.name];
ollamaTags = [instances.ollama.name "chat" "ai"];
owncastTags = [instances.owncast.name "own" "cast" "stream"];
syncthingTags = [instances.syncthing.name "sync" "thing" instances.synology.name];
in {
programs.firefox.profiles = {
${user0} = {
@ -224,28 +224,28 @@ in {
toolbar = false;
bookmarks = [
{
name = instance.forgejo.label;
url = "https://${instance.forgejo.subdomain}.${instance.web.domains.url0}";
tags = [instance.forgejo.name "forge" "git"];
keyword = instance.forgejo.label;
name = instances.forgejo.label;
url = "https://${instances.forgejo.subdomain}.${instances.web.domains.url0}";
tags = [instances.forgejo.name "forge" "git"];
keyword = instances.forgejo.label;
}
{
name = "${instance.jellyfin.label} (Internet)";
url = "https://${instance.jellyfin.name}.${instance.web.domains.url0}";
name = "${instances.jellyfin.label} (Internet)";
url = "https://${instances.jellyfin.name}.${instances.web.domains.url0}";
tags = jellyfinTags;
keyword = instance.jellyfin.label;
keyword = instances.jellyfin.label;
}
{
name = "${instance.jellyfin.label} (Local)";
url = "http://${server.ip.address0}:${toString instance.jellyfin.ports.port1}";
name = "${instances.jellyfin.label} (Local)";
url = "http://${server.ip.address0}:${toString instances.jellyfin.ports.port1}";
tags = jellyfinTags;
keyword = instance.jellyfin.label;
keyword = instances.jellyfin.label;
}
{
name = instance.mastodon.label;
url = "https://${instance.web.domains.url1}";
tags = [instance.mastodon.name "mast" "md"];
keyword = instance.mastodon.label;
name = instances.mastodon.label;
url = "https://${instances.web.domains.url1}";
tags = [instances.mastodon.name "mast" "md"];
keyword = instances.mastodon.label;
}
{
name = "Namecheap";
@ -254,86 +254,86 @@ in {
keyword = "Name";
}
{
name = instance.nextcloud.label;
url = "https://${instance.nextcloud.subdomain}.${instance.web.domains.url1}";
tags = [instance.nextcloud.name "next" "cloud" "calendar"];
keyword = instance.nextcloud.label;
name = instances.nextcloud.label;
url = "https://${instances.nextcloud.subdomain}.${instances.web.domains.url1}";
tags = [instances.nextcloud.name "next" "cloud" "calendar"];
keyword = instances.nextcloud.label;
}
{
name = aliases.name2;
url = instance.web.domains.url2;
url = instances.web.domains.url2;
tags = [aliases.name3 "blog"];
keyword = aliases.name2;
}
{
name = "${instance.ollama.label} (Server)";
url = "https://${instance.ollama.subdomain}.${instance.web.domains.url1}";
name = "${instances.ollama.label} (Server)";
url = "https://${instances.ollama.subdomain}.${instances.web.domains.url1}";
tags = ollamaTags;
keyword = instance.ollama.label;
keyword = instances.ollama.label;
}
{
name = "${instance.ollama.label} (Desktop)";
url = "http://localhost:${toString instance.ollama.ports.port0}";
name = "${instances.ollama.label} (Desktop)";
url = "http://localhost:${toString instances.ollama.ports.port0}";
tags = ollamaTags;
keyword = instance.ollama.label;
keyword = instances.ollama.label;
}
{
name = "${instance.owncast.label} (Admin)";
url = "http://${server.ip.address0}:${toString instance.owncast.ports.port0}/admin";
name = "${instances.owncast.label} (Admin)";
url = "http://${server.ip.address0}:${toString instances.owncast.ports.port0}/admin";
tags = owncastTags;
keyword = instance.owncast.label;
keyword = instances.owncast.label;
}
{
name = "${instance.owncast.label} (Server)";
url = "http://${instance.owncast.subdomain}.${instance.web.domains.url1}";
name = "${instances.owncast.label} (Server)";
url = "http://${instances.owncast.subdomain}.${instances.web.domains.url1}";
tags = owncastTags;
keyword = instance.owncast.label;
keyword = instances.owncast.label;
}
{
name = instance.peertube.label;
url = "https://${instance.peertube.subdomain}.${instance.web.domains.url1}";
tags = [instance.peertube.name "peer" "tube" "nutrivore"];
keyword = instance.peertube.label;
name = instances.peertube.label;
url = "https://${instances.peertube.subdomain}.${instances.web.domains.url1}";
tags = [instances.peertube.name "peer" "tube" "nutrivore"];
keyword = instances.peertube.label;
}
{
name = "Router";
url = "http://${instance.web.localhost.address2}";
url = "http://${instances.web.localhost.address2}";
tags = ["router" "asus"];
keyword = "Router";
}
{
name = "${instance.syncthing.label} (${instance.synology.label})";
url = "http://${nas.ip.address0}:${toString instance.syncthing.ports.port0}";
name = "${instances.syncthing.label} (${instances.synology.label})";
url = "http://${nas.ip.address0}:${toString instances.syncthing.ports.port0}";
tags =
["synology"]
++ syncthingTags;
keyword = instance.syncthing.label;
keyword = instances.syncthing.label;
}
{
name = "${instance.syncthing.label} (Desktop)";
url = "http://localhost:${toString instance.syncthing.ports.port0}";
name = "${instances.syncthing.label} (Desktop)";
url = "http://localhost:${toString instances.syncthing.ports.port0}";
tags =
["desktop"]
++ syncthingTags;
keyword = instance.syncthing.label;
keyword = instances.syncthing.label;
}
{
name = instance.synology.label;
url = "https://${nas.ip.address0}:${toString instance.synology.ports.port0}";
tags = [instance.synology.name "dsm" "cloud"];
keyword = instance.synology.label;
name = instances.synology.label;
url = "https://${nas.ip.address0}:${toString instances.synology.ports.port0}";
tags = [instances.synology.name "dsm" "cloud"];
keyword = instances.synology.label;
}
{
name = instance.vaultwarden.label;
url = "https://${instance.vaultwarden.subdomain}.${instance.web.domains.url0}";
tags = [instance.vaultwarden.name "bitwarden" "vault" "bit" "warden"];
keyword = instance.vaultwarden.label;
name = instances.vaultwarden.label;
url = "https://${instances.vaultwarden.subdomain}.${instances.web.domains.url0}";
tags = [instances.vaultwarden.name "bitwarden" "vault" "bit" "warden"];
keyword = instances.vaultwarden.label;
}
{
name = instance.wiki.label;
url = "https://${instance.wiki.subdomain}.${instance.web.domains.url1}";
tags = [instance.wiki.name "vault"];
keyword = instance.wiki.label;
name = instances.wiki.label;
url = "https://${instances.wiki.subdomain}.${instances.web.domains.url1}";
tags = [instances.wiki.name "vault"];
keyword = instances.wiki.label;
}
];
}