feat: speedtest

This commit is contained in:
s-prechtl 2025-07-01 16:00:04 +02:00
parent 91f39d5851
commit 77d29313ee
5 changed files with 27 additions and 6 deletions

View file

@ -3,7 +3,6 @@
{
inputs,
config,
lib,
pkgs,
...
}: let
@ -14,6 +13,7 @@ in {
# Include the results of the hardware scan.
./hardware-configuration.nix
../../modules/nixos/qbittorrent.nix
./secrets.nix
];
# Use the systemd-boot EFI boot loader.
@ -94,6 +94,14 @@ in {
];
workdir = "/var/lib/pihole/";
};
containers.speedtest-tracker = {
image = "lscr.io/linuxserver/speedtest-tracker:latest";
ports = [
"42069:80"
];
environmentFiles = [config.agenix.secrets.speedtest-tracker.path];
};
};
services.radarr = {
@ -189,6 +197,10 @@ in {
reverse_proxy :9117
tls internal
'';
virtualHosts."speedtest.saberofxebec".extraConfig = ''
reverse_proxy :42069
tls internal
'';
virtualHosts."qbittorrent.saberofxebec".extraConfig = ''
reverse_proxy :8080
tls internal