add docker container
This commit is contained in:
@@ -14,10 +14,11 @@ in
|
||||
imports =
|
||||
[ # Include the results of the hardware scan.
|
||||
./hardware-configuration-nas.nix
|
||||
./nas-apps/jellyfin.nix
|
||||
./nas-apps/swag.nix
|
||||
./nas-apps/jellyfin.nix
|
||||
./nas-apps/sonarr.nix
|
||||
./nas-apps/radarr.nix
|
||||
./nas-apps/sabnzbd.nix
|
||||
];
|
||||
|
||||
# Enable nix flakes and nix-command tools
|
||||
|
||||
21
nas-apps/sabnzbd.nix
Normal file
21
nas-apps/sabnzbd.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user