feat: speedtest
This commit is contained in:
parent
91f39d5851
commit
77d29313ee
5 changed files with 27 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue