linde: remove searchix-stable configuration
1 file changed, 0 insertions(+), 98 deletions(-)
changed files
M system/hosts/linde.nix → system/hosts/linde.nix
@@ -6,7 +6,6 @@ { config, lib, pkgs, - searchix, ... }:@@ -662,37 +661,6 @@ } } ''; }; - "stable.searchix.ovh" = { - extraConfig = '' - root ${pkgs.searchix}/lib/searchix - handle_errors { - rewrite * /error.html - templates - file_server - } - handle_path /stats/* { - root /srv/http/access/searchix-stable - file_server - } - handle { - reverse_proxy localhost:51314 { - health_uri /health - health_status 2xx - } - } - encode zstd gzip { - match { - header Content-Type text/* - header Content-Type application/json* - header Content-Type application/javascript* - header Content-Type application/opensearchdescription+xml - header Content-Type application/atom+xml* - header Content-Type application/rss+xml* - header Content-Type image/svg+xml* - } - } - ''; - }; "binarycache.${domain}" = let ns = config.services.nix-serve;@@ -829,20 +797,6 @@ dates = "hourly"; settings = { log-file = "${config.services.caddy.logDir}/access-searchix.ovh.log"; output = "/srv/http/access/searchix/index.html"; - log-format = "caddy"; - anonymize-ip = true; - anonymize-level = 2; - persist = true; - restore = true; - keep-last = 90; # days - }; - }; - stable-searchix = { - enable = true; - dates = "daily"; - settings = { - log-file = "${config.services.caddy.logDir}/access-stable.searchix.ovh.log"; - output = "/srv/http/access/searchix-stable/index.html"; log-format = "caddy"; anonymize-ip = true; anonymize-level = 2;@@ -1124,57 +1078,5 @@ ]; }; services.jellyfin = { enable = true; - }; - - containers.searchix-stable = { - autoStart = true; - config = - { ... }: - { - imports = [ - searchix.nixosModules.web - ]; - - system.stateVersion = "25.05"; - - services.searchix = { - enable = true; - environment = { - GOMEMLIMIT = "2000MiB"; - }; - settings = { - web = { - baseURL = "https://stable.searchix.ovh"; - port = 51314; - }; - - importer = { - timeout = "45m"; - updateAt = "07:00:00"; - sources = - let - stableVersion = "25.11"; - in - { - nixpkgs = { - enable = true; - fetcher = "channel-nixpkgs"; - channel = "nixos-${stableVersion}"; - timeout = "30m"; - manpages = { - enable = true; - path = "/doc/manpage-urls.json"; - }; - }; - nixos = { - enable = true; - fetcher = "channel-nixpkgs"; - channel = "nixos-${stableVersion}"; - }; - }; - }; - }; - }; - }; }; }