Personal-use NixOS configuration
at main 24 lines 326 B view raw
1{ 2 hosts ? [ ], 3}: 4 5{ 6 config, 7 flakeLib, 8 ... 9}: 10 11{ 12 imports = [ 13 ./byparr.nix 14 ]; 15 16 services.prowlarr = { 17 enable = true; 18 }; 19 20 # Caddy reverse proxy configuration 21 services.caddy.virtualHosts = flakeLib.mkProxies hosts '' 22 reverse_proxy :${toString config.services.prowlarr.settings.server.port} 23 ''; 24}