Update modules/server/containers/apps/homepage.nix

This commit is contained in:
2026-06-01 17:17:18 +02:00
parent bd8c9210c9
commit ee4e003ccf

View File

@@ -36,7 +36,8 @@ let
showStats = false;
statusStyle = "dot";
hideErrors = true;
auth = {
auth = lib.flatten [{}
(lib.optional (serverCfg.containers?authentik) {
oidc = {
enabled = true;
provider = "authentik";
@@ -46,7 +47,7 @@ let
groupsProperty = "groups";
};
};
})];
};
widgets = pkgs.writers.writeYAML "widgets.yaml" [
{openmeteo = {
@@ -56,16 +57,17 @@ let
units = "metric";
cache = "15";
};}
{search = {
{search = lib.flatten [{
provider = "custom";
focus = true;
showSearchSuggestions = true;
target = "_blank";
}
(lib.optional (serverCfg.containers?searxng) {
url = "https://${serverCfg.containers.searxng.subdomain}.${serverCfg.domain}/search?q=";
suggestionUrl = "https://${serverCfg.containers.searxng.subdomain}.${serverCfg.domain}/autocompleter?q=";
};}
})
];}
{stocks = {
provider = "finnhub";
color = true;