22 lines
465 B
Nix
22 lines
465 B
Nix
|
{
|
||
|
virtualisation = {
|
||
|
containers.enable = true;
|
||
|
podman.enable = true;
|
||
|
oci-containers.containers = {
|
||
|
sonarr = {
|
||
|
image = "lscr.io/linuxserver/sonarr:latest";
|
||
|
volumes = [
|
||
|
"sonarr-config:/config"
|
||
|
"/video-data:/data"
|
||
|
];
|
||
|
environment.TZ = "America/New_York";
|
||
|
labels.swag = "enable";
|
||
|
extraOptions = [
|
||
|
"--pull=newer"
|
||
|
"--network=www"
|
||
|
];
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|