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

26 lines
563 B
Nix

{
virtualisation = {
containers.enable = true;
podman.enable = true;
oci-containers.containers = {
radarr = {
image = "lscr.io/linuxserver/radarr:latest";
volumes = [
"radarr-config:/config"
"/video-data:/data"
];
environment = {
TZ = "America/New_York";
PUID = "912";
PGID = "911";
UMASK = "002";
};
labels.swag = "enable";
extraOptions = [
"--pull=newer"
"--network=www"
];
};
};
};
}