22 lines
588 B
Nix
Raw Normal View History

2024-02-08 23:21:10 +03:00
{ ... }:
2023-03-23 01:58:10 +03:00
let
nas-path = "/media/nas/media-stack";
in {
2022-04-04 14:53:16 +03:00
virtualisation.oci-containers.containers.lidarr = {
autoStart = true;
environment = {
2023-03-23 01:58:10 +03:00
PUID = "1000";
PGID = "100";
2022-04-04 14:53:16 +03:00
TZ = "Europe/Moscow";
};
2023-03-23 01:58:10 +03:00
extraOptions = [ "--pod=media-stack" ];
2024-07-07 17:04:42 +03:00
image = "docker.io/linuxserver/lidarr:version-2.3.3.4204";
2022-04-04 14:53:16 +03:00
volumes = [
2023-07-30 03:30:14 +03:00
"${nas-path}/configs/lidarr/config:/config"
"${nas-path}/configs/lidarr/custom-services.d:/custom-services.d"
"${nas-path}/configs/lidarr/custom-cont-init.d:/custom-cont-init.d"
"${nas-path}:/data"
2022-04-04 14:53:16 +03:00
];
};
2022-05-03 19:02:14 +03:00
}