nixos/hosts/architect/prowlarr.nix

25 lines
369 B
Nix
Raw Normal View History

2023-12-18 23:36:58 +00:00
{ config, ... }:
let
domain = "htpro.giugl.io";
2023-02-11 02:29:48 +00:00
in
{
2023-06-05 02:10:13 +01:00
services.prowlarr.enable = true;
2021-09-25 17:21:27 +01:00
2023-12-18 23:36:58 +00:00
architect.vhost.${domain} = with config.architect.networks; {
2023-10-21 14:00:58 +01:00
dnsInterfaces = [ "tailscale" ];
2021-09-25 17:21:27 +01:00
2023-06-05 02:10:13 +01:00
locations."/" = {
port = 9696;
allowLan = 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
}