mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-05-13 15:51:09 +02:00
12 lines
264 B
Nix
12 lines
264 B
Nix
{ config, ... }:
|
|
let
|
|
domain = "movies.vpn.rfive.de";
|
|
in
|
|
{
|
|
services.radarr = {
|
|
enable = true;
|
|
};
|
|
services.caddy.virtualHosts."http://${domain}".extraConfig = ''
|
|
reverse_proxy 127.0.0.1:${toString config.services.radarr.settings.server.port}
|
|
'';
|
|
}
|