feat: refactored some bookmarks

This commit is contained in:
Nick 2024-10-23 15:21:56 -05:00
parent 6c81361a5a
commit 276cbd2cdd

View file

@ -1,13 +1,14 @@
{flake, ...}: let {flake, ...}: let
inherit (flake.config.people) user0; inherit (flake.config.people) user0;
inherit (flake.config.people.user.${user0}) aliases;
inherit (flake.config.system.device) nas server; inherit (flake.config.system.device) nas server;
inherit (flake.config.service) instance; inherit (flake.config.service) instance;
gitlabTags = ["git" "gitlab"]; gitlabTags = ["git" "gitlab"];
youtubeTags = ["youtube" "you" "tube" "yt"]; youtubeTags = ["youtube" "you" "tube" "yt"];
jellyfinTags = ["jelly" "video" "streaming" "movies" "shows" "music"]; jellyfinTags = ["jelly" "video" "streaming" "movies" "shows" "music"];
ollamaTags = ["ollama" "chat" "ai"]; ollamaTags = [instance.ollama.name "chat" "ai"];
owncastTags = ["owncast" "own" "cast" "stream"]; owncastTags = [instance.owncast.name "own" "cast" "stream"];
syncthingTags = ["syncthing" "sync" "thing" "synology"]; syncthingTags = [instance.syncthing.name "sync" "thing" instance.synology.name];
in { in {
programs.firefox.profiles = { programs.firefox.profiles = {
${user0} = { ${user0} = {
@ -225,7 +226,7 @@ in {
{ {
name = instance.forgejo.label; name = instance.forgejo.label;
url = "https://${instance.forgejo.subdomain}.${instance.web.domains.url0}"; url = "https://${instance.forgejo.subdomain}.${instance.web.domains.url0}";
tags = ["forgejo" "forge" "git"]; tags = [instance.forgejo.name "forge" "git"];
keyword = instance.forgejo.label; keyword = instance.forgejo.label;
} }
{ {
@ -243,7 +244,7 @@ in {
{ {
name = instance.mastodon.label; name = instance.mastodon.label;
url = "https://${instance.web.domains.url1}"; url = "https://${instance.web.domains.url1}";
tags = ["mastodon" "mast" "md"]; tags = [instance.mastodon.name "mast" "md"];
keyword = instance.mastodon.label; keyword = instance.mastodon.label;
} }
{ {
@ -255,14 +256,14 @@ in {
{ {
name = instance.nextcloud.label; name = instance.nextcloud.label;
url = "https://${instance.nextcloud.subdomain}.${instance.web.domains.url1}"; url = "https://${instance.nextcloud.subdomain}.${instance.web.domains.url1}";
tags = ["nextcloud" "next" "cloud" "calendar"]; tags = [instance.nextcloud.name "next" "cloud" "calendar"];
keyword = instance.nextcloud.label; keyword = instance.nextcloud.label;
} }
{ {
name = "Nutrivore"; name = aliases.name2;
url = "https://www.the-nutrivore.com/"; url = instance.web.domains.url2;
tags = ["nutrivore" "blog"]; tags = [aliases.name3 "blog"];
keyword = "Nutrivore"; keyword = aliases.name2;
} }
{ {
name = "${instance.ollama.label} (Server)"; name = "${instance.ollama.label} (Server)";
@ -291,7 +292,7 @@ in {
{ {
name = instance.peertube.label; name = instance.peertube.label;
url = "https://${instance.peertube.subdomain}.${instance.web.domains.url1}"; url = "https://${instance.peertube.subdomain}.${instance.web.domains.url1}";
tags = ["peertube" "peer" "tube" "nutrivore"]; tags = [instance.peertube.name "peer" "tube" "nutrivore"];
keyword = instance.peertube.label; keyword = instance.peertube.label;
} }
{ {
@ -319,19 +320,19 @@ in {
{ {
name = instance.synology.label; name = instance.synology.label;
url = "https://${nas.ip.address0}:${toString instance.synology.ports.port0}"; url = "https://${nas.ip.address0}:${toString instance.synology.ports.port0}";
tags = ["synology" "dsm" "cloud"]; tags = [instance.synology.name "dsm" "cloud"];
keyword = instance.synology.label; keyword = instance.synology.label;
} }
{ {
name = instance.vaultwarden.label; name = instance.vaultwarden.label;
url = "https://${instance.vaultwarden.subdomain}.${instance.web.domains.url0}"; url = "https://${instance.vaultwarden.subdomain}.${instance.web.domains.url0}";
tags = ["vaultwarden" "bitwarden" "vault" "bit" "warden"]; tags = [instance.vaultwarden.name "bitwarden" "vault" "bit" "warden"];
keyword = instance.vaultwarden.label; keyword = instance.vaultwarden.label;
} }
{ {
name = instance.wiki.label; name = instance.wiki.label;
url = "https://${instance.wiki.subdomain}.${instance.web.domains.url1}"; url = "https://${instance.wiki.subdomain}.${instance.web.domains.url1}";
tags = ["wiki" "vault"]; tags = [instance.wiki.name "vault"];
keyword = instance.wiki.label; keyword = instance.wiki.label;
} }
]; ];