20 lines
456 B
Nix
20 lines
456 B
Nix
{ config, pkgs, ... }:
|
|
{
|
|
# sonarr
|
|
virtualisation.oci-containers.containers."sonarr" = {
|
|
autoStart = true;
|
|
image = "linuxserver/sonarr";
|
|
ports = [ "8989:8989" ];
|
|
volumes = [
|
|
"/mnt/Safe\ SSD/ssd_app_data/sonarr:/config"
|
|
"/mnt/Main\ Pool/TV:/tv"
|
|
"/mnt/Safe\ SSD/ssd_app_data/downloads:/downloads"
|
|
];
|
|
environment = {
|
|
PUID = "911";
|
|
PGID = "1000";
|
|
TZ = "America/Chicago";
|
|
};
|
|
};
|
|
}
|