dotfiles.nix/nixos/lavender/containers/plex/default.nix
2023-07-30 09:13:40 +08:00

15 lines
289 B
Nix

{ ... }:
{
# Plex
virtualisation.oci-containers.containers."plex" = {
autoStart = true;
image = "lscr.io/linuxserver/plex:latest";
volumes = [
"/srv/containers/plex:/config"
"/srv/data/media:/data/media:ro"
];
extraOptions = ["--network=host"];
};
}