From 5ddbde5ec7ea6298445b868f4251534258fe6bf6 Mon Sep 17 00:00:00 2001 From: eyjhb Date: Mon, 28 Jul 2025 20:08:54 +0200 Subject: [PATCH 1/3] bumped drtvrss sources --- shared/sources/sources.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/shared/sources/sources.json b/shared/sources/sources.json index e5d6000..b39a8f6 100644 --- a/shared/sources/sources.json +++ b/shared/sources/sources.json @@ -36,10 +36,10 @@ "homepage": null, "owner": "RasmusRendal", "repo": "drtvrss", - "rev": "dc0900835a5ed723c6e53d2c408ba7d51ef27bb9", - "sha256": "0k450i7fl4l0avmdz2dzdrmharypajq3qmyj4xsc6xvgi23nfrb0", + "rev": "6785b019639b6ea32857761100fe88ecab640d4a", + "sha256": "1m8srjvhi5z12wbdldhqmxw289g9mnfmb2wvfimbgx5frm5vf1pk", "type": "tarball", - "url": "https://github.com/RasmusRendal/drtvrss/archive/dc0900835a5ed723c6e53d2c408ba7d51ef27bb9.tar.gz", + "url": "https://github.com/RasmusRendal/drtvrss/archive/6785b019639b6ea32857761100fe88ecab640d4a.tar.gz", "url_template": "https://github.com///archive/.tar.gz" }, "flake-compat": { From 9095c3d0755d86dc59ded98710b7f9c970ea3e6c Mon Sep 17 00:00:00 2001 From: eyjhb Date: Mon, 28 Jul 2025 20:09:15 +0200 Subject: [PATCH 2/3] nextcloud: increase admin quota --- machines/gerd/services/lldap/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/machines/gerd/services/lldap/default.nix b/machines/gerd/services/lldap/default.nix index dd36177..03bc1f8 100644 --- a/machines/gerd/services/lldap/default.nix +++ b/machines/gerd/services/lldap/default.nix @@ -281,7 +281,7 @@ in { mail = mkProvisionEmail name; groups = with lconfig.groups; [ admin nextcloud_admin grafana_admin drasl_admin member ]; membermaildiskquota = 100*1024*1024; # mb - nextcloudquota = 100*1024*1024; # mb + nextcloudquota = 500*1024*1024; # mb }); }; From c98a9e9c831f1e5423b4764abed4ccb7b1b90496 Mon Sep 17 00:00:00 2001 From: eyjhb Date: Mon, 28 Jul 2025 20:09:32 +0200 Subject: [PATCH 3/3] searx: allow html, json, rss, csv formats --- machines/gerd/services/searx.nix | 35 +++++++++++++++++++++++--------- 1 file changed, 25 insertions(+), 10 deletions(-) diff --git a/machines/gerd/services/searx.nix b/machines/gerd/services/searx.nix index c3c8091..eb3b1de 100644 --- a/machines/gerd/services/searx.nix +++ b/machines/gerd/services/searx.nix @@ -1,9 +1,15 @@ -{ config, lib, pkgs, ... }: +{ + config, + lib, + pkgs, + ... +}: let svc_domain = "searx.${config.mine.shared.settings.domain}"; port = 7378; -in { +in +{ services.searx = { enable = true; runInUwsgi = true; @@ -18,6 +24,13 @@ in { base_url = "https://${svc_domain}"; secret_key = "@SECRET_KEY@"; }; + + search.formats = [ + "html" + "json" + "rss" + "csv" + ]; }; }; @@ -25,7 +38,7 @@ in { services.nginx.virtualHosts."${svc_domain}" = config.mine.shared.lib.authelia.mkProtectedWebsite { forceSSL = true; enableACME = true; - + locations."/" = config.mine.shared.lib.authelia.mkProtectedLocation { proxyPass = "http://localhost:${builtins.toString port}"; }; @@ -37,12 +50,14 @@ in { description = "We host our own searXNG, use it to search the web!"; url = "https://${svc_domain}"; - package = let - pkg = config.services.searx.package; - in { - name = pkg.pname; - version = pkg.version; - meta = pkg.meta; - }; + package = + let + pkg = config.services.searx.package; + in + { + name = pkg.pname; + version = pkg.version; + meta = pkg.meta; + }; }; }