fix home ?
This commit is contained in:
@@ -36,18 +36,6 @@ let
|
|||||||
showStats = false;
|
showStats = false;
|
||||||
statusStyle = "dot";
|
statusStyle = "dot";
|
||||||
hideErrors = true;
|
hideErrors = true;
|
||||||
auth = lib.flatten [{}
|
|
||||||
(lib.optional (serverCfg.containers?authentik) {
|
|
||||||
oidc = {
|
|
||||||
enabled = true;
|
|
||||||
provider = "authentik";
|
|
||||||
issuerUrl = "https://${serverCfg.containers.authentik.subdomain}.${serverCfg.domain}";
|
|
||||||
clientId = "homepage";
|
|
||||||
clientSecret = "{{HOMEPAGE_VAR_OAUTH_SECRET}}";
|
|
||||||
groupsProperty = "groups";
|
|
||||||
|
|
||||||
};
|
|
||||||
})];
|
|
||||||
};
|
};
|
||||||
widgets = pkgs.writers.writeYAML "widgets.yaml" [
|
widgets = pkgs.writers.writeYAML "widgets.yaml" [
|
||||||
{openmeteo = {
|
{openmeteo = {
|
||||||
@@ -57,17 +45,16 @@ let
|
|||||||
units = "metric";
|
units = "metric";
|
||||||
cache = "15";
|
cache = "15";
|
||||||
};}
|
};}
|
||||||
{search = lib.flatten [{
|
{search = {
|
||||||
provider = "custom";
|
provider = "custom";
|
||||||
focus = true;
|
focus = true;
|
||||||
showSearchSuggestions = true;
|
showSearchSuggestions = true;
|
||||||
target = "_blank";
|
target = "_blank";
|
||||||
}
|
} // (lib.optionalAttrs (serverCfg.containers?searxng) {
|
||||||
(lib.optional (serverCfg.containers?searxng) {
|
|
||||||
url = "https://${serverCfg.containers.searxng.subdomain}.${serverCfg.domain}/search?q=";
|
url = "https://${serverCfg.containers.searxng.subdomain}.${serverCfg.domain}/search?q=";
|
||||||
suggestionUrl = "https://${serverCfg.containers.searxng.subdomain}.${serverCfg.domain}/autocompleter?q=";
|
suggestionUrl = "https://${serverCfg.containers.searxng.subdomain}.${serverCfg.domain}/autocompleter?q=";
|
||||||
})
|
})
|
||||||
];}
|
}
|
||||||
{stocks = {
|
{stocks = {
|
||||||
provider = "finnhub";
|
provider = "finnhub";
|
||||||
color = true;
|
color = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user