sombrero: Add plex module

This commit is contained in:
Alexander Heldt
2023-10-22 19:08:46 +02:00
parent 71acb8a562
commit 96f6da1041
2 changed files with 43 additions and 19 deletions

View File

@@ -76,7 +76,6 @@
80
443
1122 # ssh
32400 # plex
8181 # books-sync
8384 # syncthing
8083 # calibre-web
@@ -311,24 +310,6 @@
virtualisation = {
oci-containers.containers = {
plex = {
image = "linuxserver/plex";
autoStart = true;
environment = {
TZ = "Europe/Stockholm";
VERSION = "latest";
};
extraOptions = [ "--network=host" ];
volumes = [
"/home/alex/media/plex/db:/config"
"/home/alex/media/Movies:/movies"
"/home/alex/media/TV:/tv"
];
};
koreader-sync = {
image = "localhost/koreader-sync";
autoStart = true;
@@ -380,6 +361,7 @@
mod = {
docker.enable = true;
plex.enable = true;
};
# Copy the NixOS configuration file and link it from the resulting system