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

15 lines
289 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
];
2023-07-29 08:30:44 +08:00
extraOptions = ["--network=host"];
2023-05-16 22:01:26 +08:00
};
}