1

Add sonarr service

This commit is contained in:
2023-09-01 11:38:38 +02:00
parent 3193240737
commit b5b2be9f89

View File

@ -0,0 +1,33 @@
{config, lib, pkgs, ...}:
{
virtualisation.oci-containers.containers.sonarr = {
image = "linuxserver/sonarr:latest";
autoStart = true;
dependsOn = [
"sabnzbd"
"prowlarr"
];
ports = [
"8989:8989"
];
volumes = [
"/media/Usenet:/downloads"
"/media/Show:/tv"
"sonarr_config:/config"
];
environment = {
PUID = "3001";
PGID = "3001";
TZ = "Europe/Berlin";
};
extraOptions = [
# "--restart=always" # Conflicts with NixOS' default of using --rm
];
};
}