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

15 lines
268 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-16 22:01:26 +08:00
"/srv/media:/media"
];
ports = [ "32400:32400" ];
};
}