1

Add hydra service

This commit is contained in:
2023-09-01 11:38:26 +02:00
parent 46bd824ae1
commit 53a6f5ec7e
2 changed files with 66 additions and 0 deletions

View File

@ -0,0 +1,30 @@
{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 = [
# "--restart=always" # Conflicts with NixOS' default of using --rm
];
};
}