2024-11-04 10:00:41 +01:00
|
|
|
{ config, ... }:
|
|
|
|
|
let
|
|
|
|
|
cfg = import /etc/nixos/modules/vars.nix;
|
|
|
|
|
lidarr_port = cfg.arrstack.lidarr.port;
|
|
|
|
|
#outpost_port = cfg.authentik.outpostPort;
|
|
|
|
|
#domain = "mc-fucker.cool";
|
|
|
|
|
in
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
virtualisation.oci-containers.containers.lidarrtest = {
|
|
|
|
|
image = "docker.io/youegraillot/lidarr-on-steroids";
|
|
|
|
|
environment = {
|
|
|
|
|
TZ = "Europe/Berlin";
|
|
|
|
|
PUID = toString config.users.users.arr.uid;
|
|
|
|
|
PGID = toString config.users.groups.arr.gid;
|
|
|
|
|
};
|
|
|
|
|
ports = [
|
|
|
|
|
"10101:8686"
|
|
|
|
|
"10100:6595"
|
|
|
|
|
];
|
|
|
|
|
volumes = [
|
|
|
|
|
"/var/lib/lidarrtest/lidarr:/config"
|
|
|
|
|
"/var/lib/lidarrtest/deemix:/config_deemix"
|
|
|
|
|
"/mnt/tmp/deemix:/downloads"
|
|
|
|
|
#"/mnt/mergerfs/media/music/Interpreten:/music"
|
|
|
|
|
#"/mnt/mergerfs/media:/data"
|
|
|
|
|
#"/mnt/box/files:/data/seedbox"
|
|
|
|
|
];
|
|
|
|
|
extraOptions = cfg.podman.extraOptions;
|
|
|
|
|
autoStart = false;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
virtualisation.oci-containers.containers.lidarr = {
|
|
|
|
|
image = "lscr.io/linuxserver/lidarr:latest";
|
|
|
|
|
environment = {
|
|
|
|
|
TZ = "Europe/Berlin";
|
|
|
|
|
PUID = toString config.users.users.arr.uid;
|
|
|
|
|
PGID = toString config.users.groups.arr.gid;
|
|
|
|
|
};
|
|
|
|
|
ports = [
|
|
|
|
|
"${lidarr_port}:${lidarr_port}"
|
|
|
|
|
];
|
|
|
|
|
volumes = [
|
|
|
|
|
"/var/lib/lidarr:/config"
|
|
|
|
|
"/var/lib/lidarr-extended/custom-cont-init.d:/custom-cont-init.d"
|
|
|
|
|
"/var/lib/lidarr-extended/custom-services.d:/custom-services.d"
|
|
|
|
|
"/mnt/mergerfs/media:/data"
|
2025-11-10 14:18:35 +01:00
|
|
|
#"/mnt/ultracc/downloads:/mnt/ultracc"
|
2024-11-04 10:00:41 +01:00
|
|
|
];
|
|
|
|
|
extraOptions = cfg.podman.extraOptions;
|
|
|
|
|
autoStart = false;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#services.nginx.virtualHosts = {
|
|
|
|
|
|
|
|
|
|
#};
|
|
|
|
|
}
|
|
|
|
|
# vim: set et ts=2 sw=2 ai:
|