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

15 lines
267 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" ];
};
}