nix-configs/nixos-modules/docker-sonarr.nix

27 lines
563 B
Nix
Raw Normal View History

2024-10-01 17:42:47 -04:00
{
virtualisation = {
containers.enable = true;
podman.enable = true;
oci-containers.containers = {
sonarr = {
image = "lscr.io/linuxserver/sonarr:latest";
volumes = [
"sonarr-config:/config"
"/video-data:/data"
];
2024-10-02 22:00:08 -04:00
environment = {
TZ = "America/New_York";
PUID = "911";
PGID = "911";
UMASK = "002";
};
2024-10-01 17:42:47 -04:00
labels.swag = "enable";
extraOptions = [
"--pull=newer"
"--network=www"
];
};
};
};
}