mirror of
https://github.com/RichieCahill/dotfiles.git
synced 2026-04-17 04:58:19 -04:00
22 lines
504 B
Nix
22 lines
504 B
Nix
let
|
|
vars = import ../vars.nix;
|
|
in
|
|
{
|
|
networking.firewall.allowedTCPPorts = [ 9696 8989 ];
|
|
virtualisation.oci-containers.containers.sonarr = {
|
|
image = "ghcr.io/linuxserver/sonarr:latest";
|
|
ports = [ "8989:8989" ];
|
|
environment = {
|
|
PUID = "600";
|
|
PGID = "100";
|
|
TZ = "America/New_York";
|
|
};
|
|
volumes = [
|
|
"${vars.media_docker_configs}/sonarr:/config"
|
|
"${vars.storage_plex}/tv:/tv"
|
|
"${vars.torrenting_qbitvpn}:/data"
|
|
];
|
|
autoStart = true;
|
|
};
|
|
}
|