sombrero: add plex

This commit is contained in:
Alexander Heldt
2023-01-08 17:12:18 +01:00
parent e2385fd6c1
commit d1d59c9e40

View File

@@ -63,7 +63,7 @@
};
firewall = {
allowedTCPPorts = [ 1122 ];
allowedTCPPorts = [ 1122 32400 ];
};
};
@@ -97,6 +97,31 @@
};
};
virtualisation = {
podman = {
enable = true;
dockerCompat = true;
};
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"
];
};
};
};
users = {
mutableUsers = false;