add docker container

This commit is contained in:
mjallen18
2024-02-18 22:18:22 -06:00
parent 3a12b492c8
commit e5f94aa899
2 changed files with 23 additions and 1 deletions

21
nas-apps/sabnzbd.nix Normal file
View File

@@ -0,0 +1,21 @@
{ config, pkgs, ... }:
{
# sabnzbd
virtualisation.oci-containers.containers."sabnzbd" = {
autoStart = true;
image = "linuxserver/sabnzbd";
ports = [ "8080:8080" ];
volumes = [
"/mnt/Safe\ SSD/ssd_app_data/sabnzbd:/config"
"/mnt/Main\ Pool/TV:/tv"
"/mnt/Main\ Pool/Movies:/movies"
"/mnt/Safe\ SSD/ssd_app_data/downloads:/downloads"
"/mnt/Safe\ SSD/ssd_app_data/downloads-incomplete:/downloads-incomplete"
];
environment = {
PUID = "911";
PGID = "1000";
TZ = "America/Chicago";
};
};
}