homepage adjustments

This commit is contained in:
Danilo Reyes
2026-02-01 16:59:55 -06:00
parent 32545e4fec
commit 6389b9f012
9 changed files with 23 additions and 12 deletions

View File

@@ -91,7 +91,6 @@ in
"linkwarden"
"oauth2-proxy"
"plausible"
"readeck"
"vaultwarden"
];
}

View File

@@ -20,7 +20,6 @@ let
"multi-scrobbler"
"nix-serve"
"plausible"
"readeck"
"ryot"
"shiori"
"vaultwarden"

View File

@@ -1,10 +1,10 @@
{
"server bookmarks" = [
{
readeck = [
analytics = [
{
abbr = "RD";
href = "https://laters.lebubu.org/";
abbr = "AN";
href = "https://analytics.lebubu.org";
description = "";
}
];

View File

@@ -26,7 +26,7 @@
header = false;
tab = "servers";
style = "row";
columns = 3;
columns = 4;
};
"server bookmarks" = {
header = false;

View File

@@ -188,6 +188,19 @@
version = 2;
};
};
linkwarden =
let
cfg = config.my.servers.linkwarden;
in
lib.mkIf (cfg.enable || cfg.enableProxy) {
icon = "${cfg.name}.png";
href = cfg.url;
widget = {
url = "http://${config.my.ips.wg-server}:${toString cfg.port}";
type = cfg.name;
key = "{{HOMEPAGE_VAR_LINKWARDEN}}";
};
};
nextcloud =
let
cfg = config.my.servers.nextcloud;

View File

@@ -34,6 +34,7 @@ in
{ inherit (services) nextcloud; }
{ inherit (services) gitea; }
{ inherit (services) mealie; }
{ inherit (services) linkwarden; }
];
}
]

View File

@@ -14,7 +14,7 @@ in
services.linkwarden = {
inherit (cfg) enable;
host = cfg.ip;
port = cfg.port;
inherit (cfg) port;
openFirewall = true;
environment = {
NEXTAUTH_URL = "${cfg.url}/api/v1/auth";
@@ -25,7 +25,7 @@ in
environmentFile = config.sops.secrets.linkwarden.path;
database = {
host = config.my.postgresSocket;
name = cfg.name;
inherit (cfg) name;
user = cfg.name;
createLocally = true;
};

View File

@@ -37,7 +37,6 @@ let
"mealie"
"nextcloud"
"paperless"
"readeck"
"ryot"
"shiori"
"sonarqube"

File diff suppressed because one or more lines are too long