nixos/hosts/architect/lidarr.nix

26 lines
427 B
Nix
Raw Permalink Normal View History

2024-03-14 11:06:51 +00:00
{ config, ... }:
2022-02-15 10:58:08 +00:00
let
domain = "htlid.giugl.io";
2023-02-11 02:29:48 +00:00
in
{
2022-02-15 10:58:08 +00:00
services = {
lidarr = {
enable = true;
group = "media";
};
2024-03-14 11:06:51 +00:00
};
2022-02-15 10:58:08 +00:00
2024-03-14 11:06:51 +00:00
architect.vhost.${domain} = {
dnsInterfaces = [ "lan" "tailscale" ];
locations."/" = {
port = 8686;
allowLan = true;
allowWAN = false;
allow = [ config.architect.networks."tailscale".net ];
2022-02-15 10:58:08 +00:00
};
};
users.groups.media.members = [ "lidarr" ];
}