Update modules/server/containers/apps/homepage.nix
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user