dotfiles.nix/nixos/lavender/containers/sonarr/default.nix

16 lines
306 B
Nix
Raw Normal View History

2023-05-16 14:08:07 +08:00
{ ... }:
{
# Sonarr
virtualisation.oci-containers.containers."sonarr" = {
autoStart = true;
2023-05-21 17:41:24 +08:00
image = "cr.hotio.dev/hotio/sonarr:v4";
2023-05-16 14:08:07 +08:00
volumes = [
"/srv/containers/sonarr:/config"
2023-05-21 17:41:24 +08:00
"/srv/data:/data"
2023-05-16 14:08:07 +08:00
];
ports = [ "8989:8989" ];
2023-06-12 21:47:20 +08:00
extraOptions = [ "--pull=newer" ];
2023-05-16 14:08:07 +08:00
};
}