nixos/hosts/architect/prowlarr.nix

29 lines
464 B
Nix
Raw Permalink Normal View History

2024-01-30 23:23:11 +00:00
{ config, pkgs, ... }:
let
domain = "htpro.giugl.io";
2023-02-11 02:29:48 +00:00
in
{
2024-01-30 23:23:11 +00:00
services.prowlarr = {
enable = true;
package = pkgs.unstablePkgs.prowlarr;
};
2021-09-25 17:21:27 +01:00
2023-12-18 23:36:58 +00:00
architect.vhost.${domain} = with config.architect.networks; {
dnsInterfaces = [ "tailscale" "lan" ];
2021-09-25 17:21:27 +01:00
2023-06-05 02:10:13 +01:00
locations."/" = {
port = 9696;
allowLan = true;
2024-10-07 12:10:50 +01:00
proxyWebsockets=true;
2023-12-18 23:36:58 +00:00
allow = [
tailscale.net
];
2021-09-25 17:21:27 +01:00
};
2023-12-18 23:36:58 +00:00
2021-09-25 17:21:27 +01:00
};
2021-11-25 11:42:32 +00:00
users.groups.media.members = [ "prowlarr" ];
2021-09-25 17:21:27 +01:00
}