mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-08-07 22:20:33 +02:00
20 lines
358 B
Nix
20 lines
358 B
Nix
{ config, pkgs, ... }:
|
|
{
|
|
services.sabnzbd = {
|
|
enable = true;
|
|
openFirewall = true;
|
|
};
|
|
|
|
services.caddy.virtualHosts."http://nzb.normandy.sisyphe.hypervirtual.world".extraConfig = ''
|
|
reverse_proxy 8080
|
|
'';
|
|
|
|
services.prometheus.exporters.sabnzbd = {
|
|
enable = true;
|
|
servers = [
|
|
{ sisyphe = {
|
|
|
|
}; }
|
|
]
|
|
};
|
|
}
|