add docker image to nas
This commit is contained in:
19
nas-apps/sonarr.nix
Normal file
19
nas-apps/sonarr.nix
Normal file
@@ -0,0 +1,19 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
# sonarr
|
||||
virtualisation.oci-containers.containers."sonarr" = {
|
||||
autoStart = true;
|
||||
image = "linuxserver/sonarr";
|
||||
ports = [ "8989:8989" ];
|
||||
volumes = [
|
||||
"/mnt/Safe\ SSD/ssd_app_data/sonarr:/config"
|
||||
"/mnt/Main\ Pool/TV:/tv"
|
||||
"/mnt/Safe\ SSD/ssd_app_data/downloads:/downloads"
|
||||
];
|
||||
environment = {
|
||||
PUID = "911";
|
||||
PGID = "1000";
|
||||
TZ = "America/Chicago";
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user