1
Files
flake-homelab/ServeNix/services/hydra.nix
2023-09-01 14:31:46 +02:00

32 lines
421 B
Nix

{
config,
lib,
pkgs,
...
}: {
virtualisation.oci-containers.containers.hydra = {
image = "linuxserver/nzbhydra2:latest";
autoStart = true;
dependsOn = [
"sabnzbd"
];
ports = [
"5076:5076"
];
volumes = [
"hydra_config:/config"
];
environment = {
PUID = "1000";
PGID = "1000";
TZ = "Europe/Berlin";
};
extraOptions = [];
};
}