add docker image to nas
This commit is contained in:
@@ -16,6 +16,7 @@ in
|
|||||||
./hardware-configuration-nas.nix
|
./hardware-configuration-nas.nix
|
||||||
./nas-apps/jellyfin.nix
|
./nas-apps/jellyfin.nix
|
||||||
./nas-apps/swag.nix
|
./nas-apps/swag.nix
|
||||||
|
./nas-apps/sonarr.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# Enable nix flakes and nix-command tools
|
# Enable nix flakes and nix-command tools
|
||||||
|
|||||||
@@ -1,18 +1,6 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
# environment.systemPackages = [
|
|
||||||
# pkgs.jellyfin
|
|
||||||
# pkgs.jellyfin-web
|
|
||||||
# pkgs.jellyfin-ffmpeg
|
|
||||||
# ];
|
|
||||||
|
|
||||||
# services.jellyfin = {
|
|
||||||
# enable = true;
|
|
||||||
# openFirewall = true;
|
|
||||||
# };
|
|
||||||
|
|
||||||
|
|
||||||
# Jellyfin
|
# Jellyfin
|
||||||
virtualisation.oci-containers.containers."jellyfin" = {
|
virtualisation.oci-containers.containers."jellyfin" = {
|
||||||
autoStart = true;
|
autoStart = true;
|
||||||
|
|||||||
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