1

Add sabnzbd service

This commit is contained in:
2023-09-01 11:38:42 +02:00
parent b5b2be9f89
commit d8eded8b02

View File

@ -0,0 +1,29 @@
{config, lib, pkgs, ...}:
{
virtualisation.oci-containers.containers.sabnzbd = {
image = "linuxserver/sabnzbd:latest";
autoStart = true;
dependsOn = [];
ports = [
"8080:8080"
];
volumes = [
"/media/Usenet:/downloads"
"sabnzbd_config:/config"
];
environment = {
PUID = "3001";
PGID = "3001";
TZ = "Europe/Berlin";
};
extraOptions = [
# "--restart=always" # Conflicts with NixOS' default of using --rm
];
};
}