Compare commits

..

4 commits

Author SHA1 Message Date
bdac59c471
sora: open dashboard for metrics
All checks were successful
/ check (push) Successful in 33s
2023-10-17 00:48:08 -04:00
501297ca5d
prometheus: enable traefik job 2023-10-17 00:47:58 -04:00
2fb22ddee3
home: remove gping and cachix 2023-10-17 00:22:29 -04:00
dd533805b1
searxng: switch to uwsgi mode 2023-10-17 00:22:00 -04:00
4 changed files with 22 additions and 4 deletions

View file

@ -20,11 +20,9 @@
du-dust
bottom
gnupg
gping
ripgrep
lazydocker
yt-dlp
cachix
nfs-utils
dig
];

View file

@ -8,7 +8,22 @@
services.searx = {
package = pkgs.searxng;
enable = true;
runInUwsgi = true;
uwsgiConfig = {
http = ":8100";
};
environmentFile = config.sops.secrets.searxng-secret.path;
limiterSettings = {
botdetection = {
ip_lists = {
pass_ip = [
"192.168.0.0/16"
"172.16.0.0/12"
"10.0.0.0/8"
];
};
};
};
settings = {
general = {
debug = false;

View file

@ -1,6 +1,6 @@
{config, ...}: {
sops.secrets.cloudflare-api-key = {};
networking.firewall.allowedTCPPorts = [80 443 2222];
networking.firewall.allowedTCPPorts = [80 443 2222 8080];
systemd.services.traefik = {
environment = {
CLOUDFLARE_EMAIL = "jch0tm2e@notohh.dev";
@ -202,7 +202,7 @@
};
staticConfigOptions = {
log.level = "DEBUG";
api.dashboard = false;
api.dashboard = true;
api.insecure = false;
global = {
checkNewVersion = false;

View file

@ -13,6 +13,11 @@ _: {
scrape_interval = "30s";
static_configs = [{targets = ["localhost:9100"];}];
}
{
job_name = "traefik";
scrape_interval = "30s";
static_configs = [{targets = ["100.87.54.48:8080"];}];
}
];
exporters = {
node = {