Compare commits

...

3 commits

Author SHA1 Message Date
eyjhb
c98a9e9c83
searx: allow html, json, rss, csv formats 2025-07-28 20:09:32 +02:00
eyjhb
9095c3d075
nextcloud: increase admin quota 2025-07-28 20:09:15 +02:00
eyjhb
5ddbde5ec7
bumped drtvrss sources 2025-07-28 20:08:54 +02:00
3 changed files with 29 additions and 14 deletions

View file

@ -281,7 +281,7 @@ in {
mail = mkProvisionEmail name; mail = mkProvisionEmail name;
groups = with lconfig.groups; [ admin nextcloud_admin grafana_admin drasl_admin member ]; groups = with lconfig.groups; [ admin nextcloud_admin grafana_admin drasl_admin member ];
membermaildiskquota = 100*1024*1024; # mb membermaildiskquota = 100*1024*1024; # mb
nextcloudquota = 100*1024*1024; # mb nextcloudquota = 500*1024*1024; # mb
}); });
}; };

View file

@ -1,9 +1,15 @@
{ config, lib, pkgs, ... }: {
config,
lib,
pkgs,
...
}:
let let
svc_domain = "searx.${config.mine.shared.settings.domain}"; svc_domain = "searx.${config.mine.shared.settings.domain}";
port = 7378; port = 7378;
in { in
{
services.searx = { services.searx = {
enable = true; enable = true;
runInUwsgi = true; runInUwsgi = true;
@ -18,6 +24,13 @@ in {
base_url = "https://${svc_domain}"; base_url = "https://${svc_domain}";
secret_key = "@SECRET_KEY@"; 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 { services.nginx.virtualHosts."${svc_domain}" = config.mine.shared.lib.authelia.mkProtectedWebsite {
forceSSL = true; forceSSL = true;
enableACME = true; enableACME = true;
locations."/" = config.mine.shared.lib.authelia.mkProtectedLocation { locations."/" = config.mine.shared.lib.authelia.mkProtectedLocation {
proxyPass = "http://localhost:${builtins.toString port}"; proxyPass = "http://localhost:${builtins.toString port}";
}; };
@ -37,12 +50,14 @@ in {
description = "We host our own searXNG, use it to search the web!"; description = "We host our own searXNG, use it to search the web!";
url = "https://${svc_domain}"; url = "https://${svc_domain}";
package = let package =
pkg = config.services.searx.package; let
in { pkg = config.services.searx.package;
name = pkg.pname; in
version = pkg.version; {
meta = pkg.meta; name = pkg.pname;
}; version = pkg.version;
meta = pkg.meta;
};
}; };
} }

View file

@ -36,10 +36,10 @@
"homepage": null, "homepage": null,
"owner": "RasmusRendal", "owner": "RasmusRendal",
"repo": "drtvrss", "repo": "drtvrss",
"rev": "dc0900835a5ed723c6e53d2c408ba7d51ef27bb9", "rev": "6785b019639b6ea32857761100fe88ecab640d4a",
"sha256": "0k450i7fl4l0avmdz2dzdrmharypajq3qmyj4xsc6xvgi23nfrb0", "sha256": "1m8srjvhi5z12wbdldhqmxw289g9mnfmb2wvfimbgx5frm5vf1pk",
"type": "tarball", "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/<owner>/<repo>/archive/<rev>.tar.gz" "url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
}, },
"flake-compat": { "flake-compat": {