dotfiles.nix/nixos/lavender/containers/plex/default.nix

15 lines
281 B
Nix
Raw Normal View History

2023-05-16 22:01:26 +08:00
{ ... }:
{
# Plex
virtualisation.oci-containers.containers."plex" = {
autoStart = true;
image = "lscr.io/linuxserver/plex:latest";
volumes = [
"/srv/containers/plex:/config"
2023-05-21 17:41:24 +08:00
"/srv/data/media:/data/media:ro"
2023-05-16 22:01:26 +08:00
];
ports = [ "32400:32400" ];
};
}