diff --git a/modules/server/containers/apps/homepage.nix b/modules/server/containers/apps/homepage.nix index f3d5391..367c06b 100644 --- a/modules/server/containers/apps/homepage.nix +++ b/modules/server/containers/apps/homepage.nix @@ -36,18 +36,6 @@ let showStats = false; statusStyle = "dot"; 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" [ {openmeteo = { @@ -57,17 +45,16 @@ let units = "metric"; cache = "15"; };} - {search = lib.flatten [{ + {search = { provider = "custom"; focus = true; showSearchSuggestions = true; target = "_blank"; - } - (lib.optional (serverCfg.containers?searxng) { + } // (lib.optionalAttrs (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;