mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-01-18 21:29:33 +01:00
19 lines
484 B
Nix
19 lines
484 B
Nix
{ config, ... }:
|
|
{
|
|
virtualisation.oci-containers = {
|
|
backend = "docker";
|
|
containers = {
|
|
sonarrAnime = {
|
|
image = "lscr.io/linuxserver/sonarr:latest";
|
|
volumes = [ "sonarr_data:/config" "/srv/Multimedia/DessinsAnime:/tv" "/srv/Multimedia/Torrents:/srv/Multimedia/Torrents" ];
|
|
ports = [ "8999:8989" ];
|
|
environment = {
|
|
"PUID" = "1000";
|
|
"GUID" = "1000";
|
|
"TZ" = "Europe/Paris";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|