Compare commits

..

No commits in common. "c98a9e9c831f1e5423b4764abed4ccb7b1b90496" and "801dcdbfd0e52feb231b1c9c0a7ac901a8ea29a9" have entirely different histories.

3 changed files with 14 additions and 29 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 = 500*1024*1024; # mb nextcloudquota = 100*1024*1024; # mb
}); });
}; };

View file

@ -1,15 +1,9 @@
{ { 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;
@ -24,13 +18,6 @@ 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"
];
}; };
}; };
@ -38,7 +25,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}";
}; };
@ -50,14 +37,12 @@ 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 = package = let
let pkg = config.services.searx.package;
pkg = config.services.searx.package; in {
in name = pkg.pname;
{ version = pkg.version;
name = pkg.pname; meta = pkg.meta;
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": "6785b019639b6ea32857761100fe88ecab640d4a", "rev": "dc0900835a5ed723c6e53d2c408ba7d51ef27bb9",
"sha256": "1m8srjvhi5z12wbdldhqmxw289g9mnfmb2wvfimbgx5frm5vf1pk", "sha256": "0k450i7fl4l0avmdz2dzdrmharypajq3qmyj4xsc6xvgi23nfrb0",
"type": "tarball", "type": "tarball",
"url": "https://github.com/RasmusRendal/drtvrss/archive/6785b019639b6ea32857761100fe88ecab640d4a.tar.gz", "url": "https://github.com/RasmusRendal/drtvrss/archive/dc0900835a5ed723c6e53d2c408ba7d51ef27bb9.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": {