add lidarr
All checks were successful
Build all NixOS Configurations / nix build (push) Successful in 13m41s

This commit is contained in:
Ingolf Wagner 2024-08-05 16:56:42 +02:00
parent 46a2b0cfa1
commit 8a2a37c45c
Signed by: palo
GPG key ID: 76BF5F1928B9618B
4 changed files with 31 additions and 20 deletions

View file

@ -10,14 +10,11 @@
}:
let
hosts = {
mobi = "10.23.42.23";
sterni = "10.23.42.24";
bobi = "10.23.42.25";
pepe = "10.23.42.26";
cream = "10.23.42.27";
chungus = "10.23.42.28";
cherry = "10.23.42.29";
robi = "10.23.42.111";
chungus = "10.23.42.28";
cream = "10.23.42.27";
mobi = "10.23.42.23";
orbi = "10.23.42.100";
};
subDomains = {
@ -25,21 +22,9 @@ let
"transmission2.orbi" = hosts.orbi;
"sonarr.orbi" = hosts.orbi;
"radarr.orbi" = hosts.orbi;
"lidarr.orbi" = hosts.orbi;
"prowlarr.orbi" = hosts.orbi;
"photoprism.orbi" = hosts.orbi;
# robi
"grafana.robi" = hosts.robi;
"loki.robi" = hosts.robi;
"prometheus.robi" = hosts.robi;
"sync.robi" = hosts.robi;
"transmission.robi" = hosts.robi;
"transmission2.robi" = hosts.robi;
"sonarr.robi" = hosts.robi;
"radarr.robi" = hosts.robi;
"tdarr.robi" = hosts.robi;
"prowlarr.robi" = hosts.robi;
"jellyseerr.robi" = hosts.robi;
"unmanic.robi" = hosts.robi;
# chungus
"de.tts.chungus" = hosts.chungus;
"en.tts.chungus" = hosts.chungus;

View file

@ -59,6 +59,7 @@
components.nixos.boot.enable = true;
components.nixos.boot.kernelModules = [ "e1000e" ];
components.nixos.boot.tor.enable = false;
components.monitor.enable = true;
components.monitor.opentelemetry.receiver.endpoint = "0.0.0.0:4317";

View file

@ -34,6 +34,12 @@ in
dst = "/media/arr/sonarr";
delete = false;
};
lidarr = {
sshKeyPath = config.clan.core.facts.services.rbackup.secret."ssh.rbackup.id_ed25519".path;
src = "root@orbi.${tld}:/media/arr/lidarr";
dst = "/media/arr/lidarr";
delete = false;
};
};

View file

@ -1,6 +1,6 @@
{ config, ... }:
{
networking.firewall.interfaces.wg0.allowedTCPPorts = [ 7878 8989 ];
networking.firewall.interfaces.wg0.allowedTCPPorts = [ 7878 8989 8686 ];
# download series
services.sonarr = {
@ -16,6 +16,13 @@
user = "media";
};
# download music
services.lidarr = {
enable = true;
group = "media";
user = "media";
};
# better indexer apis
services.prowlarr = {
enable = true;
@ -59,6 +66,18 @@
proxyWebsockets = true;
};
};
"lidarr.${config.networking.hostName}.private" = {
serverAliases = [ "lidarr.ingolf-wagner.de" ];
extraConfig = ''
allow ${config.tinc.private.subnet};
allow ${config.wireguard.wg0.subnet};
deny all;
'';
locations."/" = {
proxyPass = "http://localhost:8686";
proxyWebsockets = true;
};
};
"prowlarr.${config.networking.hostName}.private" = {
extraConfig = ''
allow ${config.tinc.private.subnet};